OSDN Git Service

[clean] : Online to define variable
authorhayao <hayao@fascode.net>
Sun, 19 Sep 2021 03:18:08 +0000 (12:18 +0900)
committerhayao <hayao@fascode.net>
Sun, 19 Sep 2021 03:18:08 +0000 (12:18 +0900)
build.sh

index 603642d..037efdd 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1017,13 +1017,11 @@ while true; do
             msg_error "This option is obsolete in AlterISO 3. To use Japanese, use \"-l ja\"." "1"
             ;;
         -k | --kernel)
-            customized_kernel=true
-            kernel="${2}"
+            customized_kernel=true kernel="${2}"
             shift 2
             ;;
         -p | --password)
-            customized_password=true
-            password="${2}"
+            customized_password=true password="${2}"
             shift 2
             ;;
         -t | --comp-opts)
@@ -1040,14 +1038,11 @@ while true; do
             shift 2
             ;;
         --nodebug)
-            debug=false
-            msgdebug=false
-            bash_debug=false
+            debug=false msgdebug=false bash_debug=false
             shift 1
             ;;
         --logpath)
-            logging="${2}"
-            customized_logpath=true
+            logging="${2}" customized_logpath=true
             shift 2
             ;;
         --tar-type)