From 0eecec43af96dd9d7917d12f6c031e8c98a769d9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 5 Sep 2018 12:11:23 +0200 Subject: lib/load-configuration: do not "set -e" if sourced from shell --- lib/load-configuration | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2