Skip to content

Commit

Permalink
git status may say "tree" instead of "directory"
Browse files Browse the repository at this point in the history
  • Loading branch information
dnschneid committed Feb 16, 2017
1 parent bf7a9e6 commit 5127f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $(CONTRIBUTORS): $(GITHEAD) $(CONTRIBUTORSSED)
contributors: $(CONTRIBUTORS)

release: $(CONTRIBUTORS) $(TARGET) $(RELEASE)
[ ! -d .git ] || git status | grep -q 'working directory clean' || \
[ ! -d .git ] || git status | grep -q 'working [a-z]* clean' || \
{ echo "There are uncommitted changes. Aborting!" 1>&2; exit 2; }
$(RELEASE) $(TARGET)

Expand Down

0 comments on commit 5127f68

Please sign in to comment.