[SCM] live-helper branch, master, updated. 1.0.5-2-56-g54f0348

Daniel Baumann daniel at debian.org
Thu Nov 5 12:03:40 UTC 2009


The following commit has been merged in the master branch:
commit 54f0348a12bca3997667d7e69c7c2c1744aea7ac
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Nov 5 13:02:13 2009 +0100

    Escaping variables in binary.sh of lh_binary_iso, thanks to Luigi Capriotti <l.capriotti at xbmc.org>.

diff --git a/helpers/lh_binary_iso b/helpers/lh_binary_iso
index d9f3902..a4dc2ac 100755
--- a/helpers/lh_binary_iso
+++ b/helpers/lh_binary_iso
@@ -148,20 +148,20 @@ input_dir=/usr/lib/grub/i386-pc
 
 # build core.img
 core_img=\$(mktemp)
-grub-mkimage -d ${input_dir} -o ${core_img} biosdisk iso9660
+grub-mkimage -d \${input_dir} -o \${core_img} biosdisk iso9660
 
 # build grub_eltorito image
-cat ${input_dir}/cdboot.img ${core_img} > binary/boot/grub/grub_eltorito
+cat \${input_dir}/cdboot.img \${core_img} > binary/boot/grub/grub_eltorito
 
-rm -f ${core_img}
+rm -f \${core_img}
 
-for file in ${input_dir}/*.mod ${input_dir}/efiemu??.o \
-	${input_dir}/command.lst ${input_dir}/moddep.lst ${input_dir}/fs.lst \
-	${input_dir}/handler.lst ${input_dir}/parttool.lst
+for file in \${input_dir}/*.mod \${input_dir}/efiemu??.o \
+	\${input_dir}/command.lst \${input_dir}/moddep.lst \${input_dir}/fs.lst \
+	\${input_dir}/handler.lst \${input_dir}/parttool.lst
 do
-	if test -f "$file"
+	if test -f "\$file"
 	then
-		cp -f "$file" binary/boot/grub
+		cp -f "\$file" binary/boot/grub
 	fi
 done
 EOF

-- 
live-helper



More information about the debian-live-changes mailing list