From 2cb96071f5bc844fdd0265272f9a6252418920c5 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 8 Jun 2012 17:28:14 +0200 Subject: [PATCH] GRMLBASE/45-grub-images: put single quotes to appropriate place Works otherwise too but not when testing in shells interpreting '}' --- etc/grml/fai/config/scripts/GRMLBASE/45-grub-images | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images index 6024989..ff72e31 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images +++ b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images @@ -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 -- 2.1.4