Skip to content

Commit

Permalink
Use machine-readable git status --porcelain in script
Browse files Browse the repository at this point in the history
  • Loading branch information
dottedmag committed Oct 16, 2016
1 parent e9639cf commit 464d08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-release
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DIST="$DIR.tar.bz2"

WWW_PATH="/srv/www/ftp.iplinux.org/htdocs/contrib/iplinux-bootstrap"

if ! git status | grep -q 'nothing to commit (working directory clean)'; then
if [ -n "$(git status --porcelain)" ]; then
git status
exit 1
fi
Expand Down

0 comments on commit 464d08a

Please sign in to comment.