diff options
author | Daniel Baumann <daniel@debian.org> | 2013-01-04 19:13:23 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:04 +0200 |
commit | 46dc41a70100f2eafeebcbf8c3bdd25b6030b48a (patch) | |
tree | b49bbc5ed04169c614e596c9dc39960d48fb0a1d /scripts/build/binary_loadlin | |
parent | 26bbf6e683ba512c48a41c5a14bf280a3e47b9eb (diff) | |
download | vyos-live-build-46dc41a70100f2eafeebcbf8c3bdd25b6030b48a.tar.gz vyos-live-build-46dc41a70100f2eafeebcbf8c3bdd25b6030b48a.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 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 ;; |