Browse Source

Fix a bug in mfup

Scott Lahteine 8 years ago
parent
commit
28deff01b8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      buildroot/share/git/mfup

+ 1
- 1
buildroot/share/git/mfup View File

@@ -28,7 +28,7 @@ echo "Fetching upstream ($ORG/$REPO)..."
28 28
 git fetch upstream
29 29
 
30 30
 echo ; echo "Bringing $TARG up to date..."
31
-if [[ git checkout -q $TARG ]]; then
31
+if [[ ! $(git checkout -q $TARG) ]]; then
32 32
   git reset --hard upstream/$TARG
33 33
   git push -f origin
34 34
 else

Loading…
Cancel
Save