OSDN Git Service

[fix] : simulation mode
authorhayao <shun819.mail@gmail.com>
Sat, 1 Aug 2020 05:55:27 +0000 (14:55 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 1 Aug 2020 05:55:27 +0000 (14:55 +0900)
fullbuild.sh

index 1719064..b1a4f12 100755 (executable)
@@ -204,7 +204,7 @@ _help() {
 
 
 share_options="--noconfirm"
-default_options="-b -l"
+default_options="-b -l -u alter -p alter"
 
 while getopts 'a:dghr:s' arg; do
     case "${arg}" in
@@ -244,15 +244,17 @@ fi
 
 for cha in ${channnels[@]}; do
     for arch in ${architectures[@]}; do
-        for i in $(seq 1 ${retry}); do
-            if [[ "${simulation}" = true ]]; then
-                echo "build.sh ${share_options} -a ${arch} ${cha}"
-            else
+        if [[ "${simulation}" = true ]]; then
+                echo "build.sh ${share_options} -a ${arch} -g ${lang} ${cha}"
+        else
+            for i in $(seq 1 ${retry}); do
                 build
-            fi
-        done
+            done
+        fi
     done
 done
 
 
-_msg_info "All editions have been built"
+if [[ "${simulation}" = false ]]; then
+    _msg_info "All editions have been built"
+fi