# HG changeset patch # User wenzelm # Date 1621796612 -7200 # Node ID ac7f41b66e1b0ba9cb4dd5e6e504fbef1da839a8 # Parent 6b4c47666267e90f3123b019122da41f02890f2c further "unset CDPATH", whenever a new non-interactive bash is started (see also ac07f6be27ea); diff -r 6b4c47666267 -r ac7f41b66e1b lib/scripts/getfunctions --- a/lib/scripts/getfunctions Sun May 23 20:34:43 2021 +0200 +++ b/lib/scripts/getfunctions Sun May 23 21:03:32 2021 +0200 @@ -6,6 +6,8 @@ # non-interactive bash processess. NB: bash shell functions are not portable # and may be dropped by aggressively POSIX-conformant versions of /bin/sh. +unset CDPATH + if type splitarray >/dev/null 2>/dev/null then :