summaryrefslogtreecommitdiff
path: root/build-release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-26 04:19:55 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-11-26 04:19:55 +0000
commit82412a5394acd18064ba62f85f2026a602e692b7 (patch)
treec97294812aaf3a01de352f6080c9d5e6fec9e710 /build-release
parent2ccadda5b6d1505c12d49fb1c9dcc0f9631a8ad4 (diff)
scripts (all): replace unnecessary rm -rf with rm -f
Diffstat (limited to 'build-release')
-rwxr-xr-xbuild-release16
1 files changed, 8 insertions, 8 deletions
diff --git a/build-release b/build-release
index 8ec8910..4c47b5d 100755
--- a/build-release
+++ b/build-release
@@ -42,8 +42,8 @@ fi
echo "Deleting old release archives"
-rm -rf libreboot_src.tar.xz
-rm -rf libreboot_bin.tar.xz
+rm -f libreboot_src.tar.xz
+rm -f libreboot_bin.tar.xz
# Get manifest which will be used to copy everything
ls > releasefilelist
@@ -106,13 +106,13 @@ cd ../
# GRUB:
cd grub/
rm -rf .git
-rm -rf .gitignore
+rm -f .gitignore
cd ../
# SeaBIOS:
cd seabios/
rm -rf .git
-rm -rf .gitignore
+rm -f .gitignore
cd ../
cd ../
@@ -293,14 +293,14 @@ cp macbook21_firstflash libreboot_bin/
# ----------------------------------------------------------------------------------------------------------------------------
# Also delete the manifest
-rm -rf libreboot_src/releasefilelist
-rm -rf libreboot_bin/releasefilelist
-rm -rf releasefilelist
+rm -f libreboot_src/releasefilelist
+rm -f libreboot_bin/releasefilelist
+rm -f releasefilelist
# We don't want to encourage development
# to happen on the release archives.
# Development goes in git.
-rm -rf libreboot_src/build-release
+rm -f libreboot_src/build-release
echo "Creating compressed libreboot_src release archive"