summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-25 23:19:55 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-11-25 23:19:55 (EST)
commit82412a5394acd18064ba62f85f2026a602e692b7 (patch)
treec97294812aaf3a01de352f6080c9d5e6fec9e710 /build
parent2ccadda5b6d1505c12d49fb1c9dcc0f9631a8ad4 (diff)
downloadlibreboot-82412a5394acd18064ba62f85f2026a602e692b7.zip
libreboot-82412a5394acd18064ba62f85f2026a602e692b7.tar.gz
libreboot-82412a5394acd18064ba62f85f2026a602e692b7.tar.bz2
scripts (all): replace unnecessary rm -rf with rm -f
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/build b/build
index 00e6c37..142d920 100755
--- a/build
+++ b/build
@@ -33,7 +33,7 @@ for romtype in txtmode vesafb
do
cd ../resources/utilities/grub-assemble
./gen."$romtype".sh
- rm -rf ../../../coreboot/grub_"$romtype".elf
+ rm -f ../../../coreboot/grub_"$romtype".elf
mv grub_"$romtype".elf ../../../coreboot/
cd ../../../coreboot
@@ -58,10 +58,10 @@ do
done
# The GRUB payloads are no longer needed
-rm -rf coreboot/grub_vesafb.elf
-rm -rf coreboot/grub_txtmode.elf
+rm -f coreboot/grub_vesafb.elf
+rm -f coreboot/grub_txtmode.elf
# The GRUB configs are no longer needed
-rm -rf coreboot/grub*cfg
+rm -f coreboot/grub*cfg
# ------------------- DONE ----------------------