GRMLBASE/45-grub-images: put single quotes to appropriate place
authorMichael Prokop <mika@grml.org>
Fri, 8 Jun 2012 15:28:14 +0000 (17:28 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 8 Jun 2012 15:28:15 +0000 (17:28 +0200)
Works otherwise too but not when testing in shells interpreting '}'

etc/grml/fai/config/scripts/GRMLBASE/45-grub-images

index 6024989..ff72e31 100755 (executable)
@@ -71,7 +71,7 @@ if ifclass AMD64 ; then
     exit 1
   fi
 
-  SIZE=$(du --apparent-size -sk "${target}/${BOOTX64}" | awk -F" " '{print $1'})
+  SIZE=$(du --apparent-size -sk "${target}/${BOOTX64}" | awk -F" " '{print $1}')
   SIZE=$(((($SIZE / 32 )+2)*32))
 
   dd if=/dev/zero of="${target}/${EFI_IMG}" bs=1k count="$SIZE" 2>/dev/null