From b67fd9f32fe7869aebbe10d66534451c2983f9a5 Mon Sep 17 00:00:00 2001 From: hayao Date: Sat, 1 Aug 2020 14:55:27 +0900 Subject: [PATCH] [fix] : simulation mode --- fullbuild.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/fullbuild.sh b/fullbuild.sh index 17190646..b1a4f12d 100755 --- a/fullbuild.sh +++ b/fullbuild.sh @@ -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 -- 2.11.0