summaryrefslogtreecommitdiff
path: root/getgrubinvaders
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 /getgrubinvaders
parent2ccadda5b6d1505c12d49fb1c9dcc0f9631a8ad4 (diff)
scripts (all): replace unnecessary rm -rf with rm -f
Diffstat (limited to 'getgrubinvaders')
-rwxr-xr-xgetgrubinvaders6
1 files changed, 3 insertions, 3 deletions
diff --git a/getgrubinvaders b/getgrubinvaders
index 30050b6..fcaf7b9 100755
--- a/getgrubinvaders
+++ b/getgrubinvaders
@@ -41,7 +41,7 @@ wget http://www.erikyyy.de/invaders/invaders-1.0.0.tar.gz
tar -xf "invaders-1.0.0.tar.gz"
# delete the tar file (no longer needed)
-rm -rf "invaders-1.0.0.tar.gz"
+rm -f "invaders-1.0.0.tar.gz"
# rename directory (for consistency with script names)
mv invaders grubinvaders
@@ -59,8 +59,8 @@ patch < diff.patch
patch compile.sh < compile.sh.patch
# delete the copy of the patch (no longer needed)
-rm -rf diff.patch
-rm -rf compile.sh.patch
+rm -f diff.patch
+rm -f compile.sh.patch
# we're done
cd ../