forked from ungleich-public/cdist
++debug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
dc2b37cec1
commit
8af3374965
1 changed files with 5 additions and 1 deletions
|
@ -198,8 +198,12 @@ eof
|
||||||
# Generate version file to be included in packaging
|
# Generate version file to be included in packaging
|
||||||
"$0" version
|
"$0" version
|
||||||
|
|
||||||
|
set -x
|
||||||
|
pwd
|
||||||
|
git diff-index --exit-code --quiet HEAD
|
||||||
|
ret=$?
|
||||||
# Ensure the git status is clean, else abort
|
# Ensure the git status is clean, else abort
|
||||||
if ! git diff-index --exit-code --quiet HEAD; then
|
if [ "$ret" -ne 0 ]; then
|
||||||
echo "Unclean tree, aborting"
|
echo "Unclean tree, aborting"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue