OSDN Git Service

[fix] : Fixed i686 process
authorhayao <shun819.mail@gmail.com>
Sat, 12 Dec 2020 11:31:29 +0000 (20:31 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 12 Dec 2020 11:31:29 +0000 (20:31 +0900)
scripts/main.sh

index 03c619d..444cf90 100755 (executable)
@@ -301,6 +301,9 @@ build() {
     local build_list
 
     for _arch in "${arch}" "any"; do
+        if [[ ! -d "${work_dir}/git_work/${repo_name}/${_arch}" ]]; then
+            continue
+        fi
         cd "${work_dir}/git_work/${repo_name}/${_arch}"
         local pkg
         if [[ "${pkgs[@]}" = "ALL" ]]; then