OSDN Git Service

Merge remote-tracking branch 'FascodeNet/master' master origin/HEAD origin/master
authorhayao <shun819.mail@gmail.com>
Mon, 14 Dec 2020 13:33:35 +0000 (22:33 +0900)
committerhayao <shun819.mail@gmail.com>
Mon, 14 Dec 2020 13:33:35 +0000 (22:33 +0900)
build.sh

index 03f05e2..5e6b5f0 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -195,8 +195,6 @@ _usage () {
     echo "    -b | --bootsplash      Enable Plymouth"
     echo "    -l | --lang <lang>     Specifies the default language for the live environment"
     echo "                           Default: ${locale_name}"
-    echo "    -m | --mirror <url>    Set apt mirror server."
-    echo "                           Default: ${mirror}"
     echo "    -o | --out <dir>       Set the output directory"
     echo "                           Default: ${out_dir}"
     echo "    -w | --work <dir>      Set the working directory"
@@ -502,8 +500,8 @@ make_checksum() {
 }
 
 # 引数解析 参考記事:https://0e0.pw/ci83 https://0e0.pw/VJlg
-_opt_short="w:l:o:hba:-:m:c:dx"
-_opt_long="help,arch:,codename:,debug,help,lang,mirror:,out:,work,cache-only,bootsplash,bash-debug"
+_opt_short="w:l:o:hba:-:c:dx"
+_opt_long="help,arch:,codename:,debug,help,lang,out:,work,cache-only,bootsplash,bash-debug"
 OPT=$(getopt -o ${_opt_short} -l ${_opt_long} -- "${@}")
 
 if [[ ${?} != 0 ]]; then
@@ -534,10 +532,6 @@ while :; do
             _usage
             exit 0
             ;;
-        -m | --mirror)
-            mirror="${2}"
-            shift 2
-            ;;
         -l | --lang)
             locale_name="${2}"
             shift 2