OSDN Git Service

[fix] : test command
authorhayao <shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:38:45 +0000 (10:38 +0900)
committerhayao <shun819.mail@gmail.com>
Thu, 20 Aug 2020 01:38:45 +0000 (10:38 +0900)
build.sh

index d350e7b..e2e5210 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -422,7 +422,7 @@ prepare_build() {
     }
     trap '_trap_remove_work' 1 2 3 15
     
-    if [[ ${rebuild} = false ]]; then
+    if [[ "${rebuild}" == false ]]; then
         # If there is pacman.conf for each channel, use that for building
         if [[ -f "${script_path}/channels/${channel_name}/pacman-${arch}.conf" ]]; then
             build_pacman_conf="${script_path}/channels/${channel_name}/pacman-${arch}.conf"