OSDN Git Service

[fix] : Fixed test
authorhayao <shun819.mail@gmail.com>
Fri, 23 Oct 2020 08:45:31 +0000 (17:45 +0900)
committerhayao <shun819.mail@gmail.com>
Fri, 23 Oct 2020 08:45:31 +0000 (17:45 +0900)
build.sh

index aa10d7a..a7f03b4 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1232,7 +1232,7 @@ make_overisofs() {
 
     _copy_isofs() {
         local _dir="${1%/}"
-        [[ -d "${_dir}" ]] && cp -af "${_dir}"/* "${isofs_dir}"
+        if [[ -d "${_dir}" ]]; then cp -af "${_dir}"/* "${isofs_dir}"; fi
     }
 
     _copy_isofs "${script_path}/channels/share/over_isofs.any"