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.

This commit is contained in:
Daniel Baumann 2013-01-04 19:13:23 +01:00
parent 6ec9186c37
commit 7bb740ca08
1 changed files with 8 additions and 2 deletions

View File

@ -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
;;