summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/load-configuration1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index fc766a5..6a94976 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -25,6 +25,7 @@ fi
# dirty hack to get this stuff debugable from a bash
if [ "x${0##*/}" = "x-bash" ] || [ "x${0##*/}" = "xbash" ] || [ "x${0##*/}" = "xdash" ]; then
base_dir=$(pwd)
+ set +e
else
base_dir=$(printf '%s/..' "$(dirname "$(readlink -f "$0")")")
fi