Skip to content

Commit

Permalink
support newer git versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Dec 21, 2018
1 parent 540c878 commit 57c16c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Expand Up @@ -413,7 +413,7 @@ mrproper:

versionprecheck:
[ -e .git ] || { echo "changing versions only works in git clones!"; exit 1; }
[ `git status | grep -c 'working directory clean'` -eq 1 ] || { echo "git project is not clean, cannot tag version"; exit 1; }
[ `git status | grep -cP 'working (directory|tree) clean'` -eq 1 ] || { echo "git project is not clean, cannot tag version"; exit 1; }

newversion: versionprecheck
test -e .git
Expand Down

0 comments on commit 57c16c5

Please sign in to comment.