diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-08-30 09:40:59 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-08-30 09:42:24 (EDT) |
commit | 4dc83bd7c03b233fccc1cea5848d41899d916939 (patch) | |
tree | 3cc6ce50c7e6793bef38916af4d6ef613b10b013 /resources/scripts/helpers/build/roms | |
parent | a7ae3b69f0abdd08689e9d6992e488cde473c59d (diff) | |
download | libreboot-4dc83bd7c03b233fccc1cea5848d41899d916939.zip libreboot-4dc83bd7c03b233fccc1cea5848d41899d916939.tar.gz libreboot-4dc83bd7c03b233fccc1cea5848d41899d916939.tar.bz2 |
build/roms/withgrub: simplify use of rm commands
Diffstat (limited to 'resources/scripts/helpers/build/roms')
-rwxr-xr-x | resources/scripts/helpers/build/roms/withgrub | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 3032ab4..7283c1a 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" |