diff options
author | Daniel Baumann <daniel@debian.org> | 2013-01-04 19:13:23 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2013-01-04 19:13:23 +0100 |
commit | 8607b231d67a81d923badbd1a303aced48e408cc (patch) | |
tree | a836a2f4b3d60250dacd2c8bd33abca68503231b /scripts/build/binary_loadlin | |
parent | 12506ec1c6e909409a4002466a5f9ab7cbb5a0bc (diff) | |
download | vyos-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-x | scripts/build/binary_loadlin | 10 |
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 ;; |