OSDN Git Service

[fix] : Fixed undefined iso_filename
authorhayao <hayao@fascode.net>
Mon, 24 May 2021 13:29:09 +0000 (22:29 +0900)
committerhayao <hayao@fascode.net>
Mon, 24 May 2021 13:29:09 +0000 (22:29 +0900)
build.sh

index c3e0b4a..510fa26 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -448,7 +448,7 @@ prepare_build() {
 
     # Generate iso file name.
     local _channel_name="${channel_name%.add}-${locale_version}" 
-    local iso_filename="${iso_name}-${_channel_name}-${iso_version}-${arch}.iso"
+    iso_filename="${iso_name}-${_channel_name}-${iso_version}-${arch}.iso"
     [[ "${nochname}" = true ]] && iso_filename="${iso_name}-${iso_version}-${arch}.iso"
     msg_debug "Iso filename is ${iso_filename}"