OSDN Git Service

[fix] : Fixed debug message.
authorhayao <shun819.mail@gmail.com>
Sat, 18 Apr 2020 04:42:15 +0000 (13:42 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 18 Apr 2020 04:42:15 +0000 (13:42 +0900)
build.sh

index 0593e37..f3ba13c 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -415,7 +415,6 @@ prepare_build() {
                     echo -n "old"
                     return 0
                 fi
-                _msg_debug "Installed $(pacman -Q ${1})"
             fi
         done
         echo -n "not"
@@ -433,6 +432,7 @@ prepare_build() {
                 exit 1
                 ;;
         esac
+        _msg_debug "Installed $(pacman -Q ${pkg})"
     done
 }
 
@@ -1109,6 +1109,7 @@ fi
 
 set -eu
 
+debug=true
 
 prepare_build
 show_settings