OSDN Git Service

[fix] : Fixed rebuild save.
authorhayao <shun819.mail@gmail.com>
Sat, 27 Jun 2020 07:01:55 +0000 (16:01 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 27 Jun 2020 07:01:55 +0000 (16:01 +0900)
build.sh

index 57eece4..389c3e4 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -491,8 +491,8 @@ prepare_build() {
         _msg_debug "Iso filename is ${iso_filename}"
 
         # Save the value of the variable for use in rebuild.
-        echo "#!/usr/bin/env bash" > "${out_file}"
-        echo "# Build options are stored here." >> "${out_file}"
+        echo "#!/usr/bin/env bash" > "${rebuildfile}"
+        echo "# Build options are stored here." >> "${rebuildfile}"
 
         save_var \
             arch \