Skip to content

Commit c55dbe7

Browse files
committed
status
1 parent dffbf76 commit c55dbe7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tool/release_helper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ if [ -z ${DEVTOOLS_REMOTE+x} ] ; then
1313
exit 1
1414
fi
1515

16-
if [[ -z $(git status -s) ]] ; then
16+
STATUS=$(git status -s)
17+
if [[ -z ${STATUS+x} ]] ; then
1718
echo "Make sure your working directory is clean before running the helper"
1819
exit 1
1920
fi

0 commit comments

Comments
 (0)