summaryrefslogtreecommitdiffstats
path: root/renew-config
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-11-14 02:49:41 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2012-11-14 02:53:08 +0100
commit456de41b2fb0790f1b27d704ade798e1e7148b6c (patch)
treeef3accb38224097eb53010059f952b2df2658d61 /renew-config
parent15f1f07a7f45a811382f44a083d5ecd471010b25 (diff)
downloadbcfg2-tools-456de41b2fb0790f1b27d704ade798e1e7148b6c.tar.gz
bcfg2-tools-456de41b2fb0790f1b27d704ade798e1e7148b6c.tar.bz2
bcfg2-tools-456de41b2fb0790f1b27d704ade798e1e7148b6c.zip
renew-config: fix reference on $(dirname $0)
Diffstat (limited to 'renew-config')
-rwxr-xr-xrenew-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/renew-config b/renew-config
index 937025e..5536b0c 100755
--- a/renew-config
+++ b/renew-config
@@ -22,7 +22,7 @@ if [ -n "$(git rev-list HEAD..origin/master)" ]; then
fi
# update symlinks (needed for repo validation)
-$(dirname $0)/prepare-repository
+$BINDIR/prepare-repository
if ! bcfg2-lint -Q "$REPO"; then
error "$REPO: bcfg2-lint detected errors."