B. Petersen 2 anni fa
parent
commit
bda2dcfc3c
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  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