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:14:21 +0100 |
commit | 7bb740ca080696c3b7a9e2b2c9f85f00d50bc224 (patch) | |
tree | b49bbc5ed04169c614e596c9dc39960d48fb0a1d /scripts | |
parent | 6ec9186c3710d4d39fcd937c7139ca9cf91022aa (diff) | |
download | vyos-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-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 ;; |