summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-04 19:13:23 +0100
committerDaniel Baumann <daniel@debian.org>2013-01-04 19:14:21 +0100
commit7bb740ca080696c3b7a9e2b2c9f85f00d50bc224 (patch)
treeb49bbc5ed04169c614e596c9dc39960d48fb0a1d /scripts
parent6ec9186c3710d4d39fcd937c7139ca9cf91022aa (diff)
downloadvyos-live-build-7bb740ca080696c3b7a9e2b2c9f85f00d50bc224.tar.gz
vyos-live-build-7bb740ca080696c3b7a9e2b2c9f85f00d50bc224.zip
Using cat instead of echo to workaround incompatible and conflicting uses in escaping of \t in dash and bash, and less importantly to workaround a false-positive in checkbashisms.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_loadlin10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/build/binary_loadlin b/scripts/build/binary_loadlin
index ada85ef5e..a27be4b57 100755
--- a/scripts/build/binary_loadlin
+++ b/scripts/build/binary_loadlin
@@ -73,11 +73,17 @@ case "${LIVE_IMAGE_ARCHITECTURE}" 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
;;