OSDN Git Service

[update] : Added confirmation of build settings.
authorhayao <shun819.mail@gmail.com>
Sat, 11 Apr 2020 11:42:01 +0000 (20:42 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 11 Apr 2020 11:42:01 +0000 (20:42 +0900)
build.sh

index 8b2c1c1..91159ff 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -173,6 +173,7 @@ remove() {
 # Show settings.
 # $1 = Time to show
 show_settings() {
+    echo
     if [[ "${boot_splash}" = true ]]; then
         echo "Boot splash is enabled."
         echo "Theme is used ${theme_name}."
@@ -187,7 +188,9 @@ show_settings() {
         echo "Use the ${channel_name} channel."
     fi
     [[ "${japanese}" = true ]] && echo "Japanese mode has been activated."
-    sleep "${1}"
+    echo
+    echo "Press Enter to continue or Ctrl + C to exit."
+    read
 }
 
 # Preparation for rebuild
@@ -788,7 +791,7 @@ else
 fi
 
 
-show_settings 3
+show_settings
 prepare_rebuild
 run_once make_pacman_conf
 run_once make_basefs