summaryrefslogtreecommitdiffstats
path: root/renew-config
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-02-07 16:53:30 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-02-07 16:53:30 +0100
commitfc019f7f036e45c14ca0dc05d8882cb9ec1c2c8b (patch)
tree98d7baea592973cfa6de0d98a9eae7a7bf0146f6 /renew-config
parentcbed530b48e49d1c3a90fb7946733a2a63286270 (diff)
downloadbcfg2-tools-fc019f7f036e45c14ca0dc05d8882cb9ec1c2c8b.tar.gz
bcfg2-tools-fc019f7f036e45c14ca0dc05d8882cb9ec1c2c8b.tar.bz2
bcfg2-tools-fc019f7f036e45c14ca0dc05d8882cb9ec1c2c8b.zip
check-repo: Add script for repo validation.
This script could be used in the commit hook and in the renew-config script.
Diffstat (limited to 'renew-config')
-rwxr-xr-xrenew-config5
1 files changed, 1 insertions, 4 deletions
diff --git a/renew-config b/renew-config
index e9aea35..db7cef2 100755
--- a/renew-config
+++ b/renew-config
@@ -18,10 +18,7 @@ if [ -n "$(git rev-list HEAD..FETCH_HEAD)" ]; then
error "$REPO: HEAD does not equal to origin/master."
fi
-# update symlinks (needed for repo validation)
-$BINDIR/prepare-repository
-
-if ! bcfg2-lint -Q "$REPO"; then
+if ! $BINDIR/check-repo; then
error "$REPO: bcfg2-lint detected errors."
fi