浏览代码

Fix a bug in mfup

Scott Lahteine 8 年前
父节点
当前提交
28deff01b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      buildroot/share/git/mfup

+ 1
- 1
buildroot/share/git/mfup 查看文件

@@ -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

正在加载...
取消
保存