aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-30 14:40:59 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-30 14:42:24 +0100
commit4dc83bd7c03b233fccc1cea5848d41899d916939 (patch)
tree3cc6ce50c7e6793bef38916af4d6ef613b10b013
parenta7ae3b69f0abdd08689e9d6992e488cde473c59d (diff)
downloadlibrebootfr-4dc83bd7c03b233fccc1cea5848d41899d916939.tar.gz
librebootfr-4dc83bd7c03b233fccc1cea5848d41899d916939.zip
build/roms/withgrub: simplify use of rm commands
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub10
1 files changed, 3 insertions, 7 deletions
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"