mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
tools/build-release.sh: work around git status bug.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
8b74bcb0ad
commit
91fdfbe2f4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user