OSDN Git Service

[fix] : Fixed escape sequence
authorhayao <hayao@fascode.net>
Sun, 18 Jul 2021 08:42:35 +0000 (17:42 +0900)
committerhayao <hayao@fascode.net>
Sun, 18 Jul 2021 08:42:35 +0000 (17:42 +0900)
build.sh

index ee11ace..42cd8f0 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -666,7 +666,7 @@ make_customize_airootfs() {
     # Create script
     for _script in "${_script_list[@]}"; do
         if [[ -f "${_script}" ]]; then
-            echo -e "\n$(cat "${_script}")" >> "${airootfs_dir}/${_main_script}"
+            (echo && cat "${_script}")  >> "${airootfs_dir}/${_main_script}"
             remove "${_script}"
         else
             msg_debug "${_script} was not found."