--name-only
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
8af3374965
commit
74449ba45e
1 changed files with 1 additions and 5 deletions
|
@ -198,12 +198,8 @@ 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 [ "$ret" -ne 0 ]; then
|
if ! git diff-index --name-only --quiet HEAD >/dev/null; then
|
||||||
echo "Unclean tree, aborting"
|
echo "Unclean tree, aborting"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue