index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-05-05 12:34:39 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-05 12:34:39 +0200 |
commit | 323dc12ec01c2f52ebc0ebc4e6c0e2133cd9277a (patch) | |
tree | a7f17ca54a0c5ee3fc9ef280b6fd9e2f8af5b0e1 /conf | |
parent | d3c0f340aaadeb57f4d4c4a94d4c3d2a3a4ed429 (diff) |
-rwxr-xr-x | conf/default.conf | 7 |
diff --git a/conf/default.conf b/conf/default.conf index 548bd86..dfc9905 100755 --- a/conf/default.conf +++ b/conf/default.conf @@ -4,7 +4,12 @@ set -e -base_dir="$(dirname "$(readlink -f "$0")")/.." +# dirty hack to get this stuff debugable from a bash +if [ "x$0" == "x-bash" ]; then + base_dir="$(pwd)" +else + base_dir="$(dirname "$(readlink -f "$0")")/.." +fi . "${base_dir}/bin/common-functions" |