From 4dc83bd7c03b233fccc1cea5848d41899d916939 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 30 Aug 2015 14:40:59 +0100 Subject: build/roms/withgrub: simplify use of rm commands --- resources/scripts/helpers/build/roms/withgrub | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'resources/scripts/helpers') diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 3032ab41..7283c1ac 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -106,8 +106,7 @@ if [ -d "bin/grub/" ]; then do dd if="ich9fdgbe_${romsize}.bin" of="${rom}" bs=1 count=12k conv=notrunc done - rm -f "ich9fd"*.bin - rm -f "mk"*.[ch] + rm -f "ich9fd"*.bin "mk"*.[ch] cd "../" fi done @@ -115,10 +114,7 @@ if [ -d "bin/grub/" ]; then cd ../../ fi -# The GRUB payloads are no longer needed -rm -f "coreboot/grub_vesafb.elf" -rm -f "coreboot/grub_txtmode.elf" -# The GRUB configs are no longer needed -rm -f coreboot/grub*cfg +# The GRUB files are no longer needed +rm -f "coreboot/grub"*.{elf,cfg} printf "\n\n" -- cgit v1.2.3-70-g09d2