We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 298d824 commit 1dc6c9cCopy full SHA for 1dc6c9c
tools/deploy-to-svn.sh
@@ -19,7 +19,7 @@ if [ -z $( git tag | grep "^$TAG$" ) ]; then
19
fi
20
21
# Make sure we don't have uncommitted changes.
22
-if [ -z $( git status -s ) ]; then
+if [[ -n $( git status -s --porcelain ) ]]; then
23
echo "Uncommitted changes found."
24
echo "Please deal with them and try again clean."
25
exit 1
0 commit comments