Using cat instead of echo to workaround incompatible and conflicting uses in escaping...
authorDaniel Baumann <daniel@debian.org>
Fri, 4 Jan 2013 18:13:23 +0000 (19:13 +0100)
committerDaniel Baumann <daniel@debian.org>
Fri, 4 Jan 2013 18:13:23 +0000 (19:13 +0100)
scripts/build/binary_loadlin

index dc665ac..9a8e6a4 100755 (executable)
@@ -73,11 +73,17 @@ case "${LB_ARCHITECTURES}" in
                        gunzip -c /usr/share/doc/loadlin/manual.txt.gz > binary/tools/loadlin.txt
                fi
 
-               echo "\tools\loadlin.exe vmlinuz initrd=initrd.gz" > binary/install/install.bat
+cat > binary/install/install.bat << EOF
+\tools\loadlin.exe vmlinuz initrd=initrd.gz
+EOF
 
                if [ -e binary/install/gtk ]
                then
-                       echo "\tools\loadlin.exe \install.386\vmlinuz initrd=initrd.gz vga=788" > binary/install/gtk/install.bat
+
+cat > binary/install/gtk/install.bat << EOF
+\tools\loadlin.exe \install.386\vmlinuz initrd=initrd.gz vga=788
+EOF
+
                fi
                ;;