Browse Source

tools/build-release.sh: work around git status bug.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
pr-2391
Rusty Russell 6 years ago
committed by neil saitug
parent
commit
91fdfbe2f4
  1. 3
      tools/build-release.sh

3
tools/build-release.sh

@ -48,7 +48,8 @@ else
TARGETS=" $* "
fi
if [ "$(git status --porcelain -u no)" != "" ] && ! $FORCE_UNCLEAN; then
# `status --porcelain -u no` suppressed modified! Bug reported...
if [ "$(git diff --name-only)" != "" ] && ! $FORCE_UNCLEAN; then
echo "Not a clean git directory" >&2
exit 1
fi

Loading…
Cancel
Save