From f94fb1b5226781551051daa3761919346e8c4b3e Mon Sep 17 00:00:00 2001
From: Francis Rowe <info@gluglug.org.uk>
Date: Sat, 06 Jun 2015 22:05:02 -0400
Subject: Replace rm -r with rm -R

---
(limited to 'resources/scripts/helpers/build/release/archives')

diff --git a/resources/scripts/helpers/build/release/archives b/resources/scripts/helpers/build/release/archives
index d48038a..1795df0 100755
--- a/resources/scripts/helpers/build/release/archives
+++ b/resources/scripts/helpers/build/release/archives
@@ -55,8 +55,8 @@ cat .git/refs/heads/master > commitid
 printf "Deleting the old release archives\n"
 rm -f libreboot_*.tar.xz
 rm -f tobuild.tar.xz
-rm -rf release/
-rm -rf tobuild/
+rm -Rf release/
+rm -Rf tobuild/
 
 # ### Create the release/ directory where the archives will go
 # ----------------------------------------------------------------------------------------------------------------------------
@@ -82,7 +82,7 @@ cp -R bucts bucts_
 mkdir libreboot_util/bucts/
 mkdir libreboot_util/bucts/"$arch"/
 mv bucts/bucts libreboot_util/bucts/"$arch"/
-rm -rf bucts/
+rm -Rf bucts/
 mv bucts_/ bucts/
 
 # ----------------
@@ -100,7 +100,7 @@ mv flashrom ../libreboot_util/flashrom/"$arch"
 mv flashrom_lenovobios_sst ../libreboot_util/flashrom/"$arch"
 mv flashrom_lenovobios_macronix ../libreboot_util/flashrom/"$arch"
 cd ../
-rm -rf flashrom
+rm -Rf flashrom
 mv flashrom_ flashrom
 
 # ----------------
@@ -133,7 +133,7 @@ mkdir ../../../libreboot_util/cbfstool/armv7l
 mv cbfstool ../../../libreboot_util/cbfstool/armv7l/
 
 cd ../
-rm -rf cbfstool
+rm -Rf cbfstool
 mv cbfstool_ cbfstool
 cd ../../
 
@@ -173,7 +173,7 @@ mv ich9gen ../../../libreboot_util/ich9deblob/armv7l/
 mv demefactory ../../../libreboot_util/ich9deblob/armv7l/
 
 cd ../
-rm -rf ich9deblob
+rm -Rf ich9deblob
 mv ich9deblob_ ich9deblob
 cd ../../
 
@@ -201,7 +201,7 @@ if [ "$arch" = "x86_64" ]
 fi
 
 cd ../
-rm -rf nvramtool
+rm -Rf nvramtool
 mv nvramtool_ nvramtool
 cd ../../
 
@@ -228,7 +228,7 @@ if [ "$arch" = "x86_64" ]
 		mv cbmem ../../../libreboot_util/cbmem/i686/
 fi
 cd ../
-rm -rf cbmem
+rm -Rf cbmem
 mv cbmem_ cbmem
 cd ../../
 
@@ -271,7 +271,7 @@ printf "\n\n"
 # ----------------------------------------------------------------------------------------------------------------------------
 
 # The uncompressed archives are no longer needed
-rm -rf libreboot_util
+rm -Rf libreboot_util
 
 # For those utilities that have to be built on the target
 ./build external source
--
cgit v0.9.1