B. Petersen 2 年之前
父节点
当前提交
bda2dcfc3c
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      scripts/update-core.sh

+ 2 - 4
scripts/update-core.sh

@@ -1,10 +1,8 @@
 git submodule update --init --recursive
 git submodule update --init --recursive
 cd deltachat-ios/libraries/deltachat-core-rust
 cd deltachat-ios/libraries/deltachat-core-rust
 OLD=`git branch --show-current`
 OLD=`git branch --show-current`
-if [ $# -eq 0 ]
-then
-    echo "updates deltachat-core-rust submodule"
-    echo "to the last commit of the given branch."
+if [ $# -eq 0 ]; then
+    echo "updates deltachat-core-rust submodule to last commit of a branch."
     echo "usage: ./scripts/update-core.sh BRANCH_NAME"
     echo "usage: ./scripts/update-core.sh BRANCH_NAME"
     echo "old branch: $OLD"
     echo "old branch: $OLD"
     exit
     exit