Skip to content

Commit e784f1c

Browse files
committed
fix equality check on a return code within g-apply-patch
1 parent cb19343 commit e784f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

g-apply-patch

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ then
99
FEATURE_NAME=`basename -s .patch $1`
1010
g-branch "${FEATURE_NAME}"
1111
git am < "$1"
12-
if [ $? eq 0 ]
12+
if [ $? -eq 0 ]
1313
then
1414
rm "$1"
1515
echo "The patch file has been applied successfully and removed."

0 commit comments

Comments
 (0)