summaryrefslogtreecommitdiffstats
path: root/check-repo
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-10-04 04:01:20 +0200
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2016-10-04 04:06:04 +0200
commitf77f0fef7182a9757ad26091967a4e19039043ec (patch)
treeea485ee62be0fbf730b809fe79db7d527323df8c /check-repo
parent166b49bec5c861d2854d198e9421faad88cc3849 (diff)
downloadbcfg2-tools-f77f0fef7182a9757ad26091967a4e19039043ec.tar.gz
bcfg2-tools-f77f0fef7182a9757ad26091967a4e19039043ec.tar.bz2
bcfg2-tools-f77f0fef7182a9757ad26091967a4e19039043ec.zip
Support to execute scripts without /root/bin in PATHHEADmaster
Diffstat (limited to 'check-repo')
-rwxr-xr-xcheck-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-repo b/check-repo
index 2cdf7bb..54aea2f 100755
--- a/check-repo
+++ b/check-repo
@@ -1,6 +1,6 @@
#!/bin/sh
-. settings.sh
+. $(dirname $0)/settings.sh
DIR="$(mktemp -d)"
trap 'rm -rf "${DIR}"' EXIT INT TERM HUP