Permalink
Browse files

Fixed dumb execute bug in http workaround

  • Loading branch information...
rickofullsail committed Sep 15, 2010
1 parent a4ded6c commit e92360e1d8de175c4653e71fe89a8cc1d508ad27
Showing with 2 additions and 1 deletion.
  1. +2 −1 gitflow.sh
View
@@ -70,7 +70,8 @@ case "$1" in
if [ ! -f "$SUBMODULE_FILE" ] ; then
sed -e 's/git:/http:/g' "$MODULES_FILE" > "http-$MODULES_FILE"
echo "It looks like the submodule update failed."
- if [ -z `diff "$MODULES_FILE" "http-$MODULES_FILE"` ] ; then
+ MOD_DIFF=`diff "$MODULES_FILE" "http-$MODULES_FILE"`
+ if [ -z "$MOD_DIFF" ] ; then
echo " ... and it appears to be an unrecoverable problem. Sorry!"
rm "http-$MODULES_FILE"
cd "$lastcwd"

0 comments on commit e92360e

Please sign in to comment.