summaryrefslogtreecommitdiff
path: root/scripts/build/binary_loadlin
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:13:23 +0100
commit8607b231d67a81d923badbd1a303aced48e408cc (patch)
treea836a2f4b3d60250dacd2c8bd33abca68503231b /scripts/build/binary_loadlin
parent12506ec1c6e909409a4002466a5f9ab7cbb5a0bc (diff)
downloadvyos-live-build-8607b231d67a81d923badbd1a303aced48e408cc.tar.gz
vyos-live-build-8607b231d67a81d923badbd1a303aced48e408cc.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/build/binary_loadlin')
-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 dc665acd0..9a8e6a445 100755
--- a/scripts/build/binary_loadlin
+++ b/scripts/build/binary_loadlin
@@ -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
;;