summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-06 22:05:02 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-06 22:05:02 (EDT)
commitf94fb1b5226781551051daa3761919346e8c4b3e (patch)
tree9b0da490373654df8890af8c77e91a3597f3a6cf
parent52b05b1595415f60cf8a73931db23cf500f0956b (diff)
downloadlibreboot-f94fb1b5226781551051daa3761919346e8c4b3e.zip
libreboot-f94fb1b5226781551051daa3761919346e8c4b3e.tar.gz
libreboot-f94fb1b5226781551051daa3761919346e8c4b3e.tar.bz2
Replace rm -r with rm -R
-rw-r--r--docs/archive_old.html4
-rw-r--r--docs/gnulinux/configuring_parabola.html2
-rw-r--r--docs/gnulinux/encrypted_parabola.html2
-rw-r--r--docs/gnulinux/grub_cbfs.html2
-rw-r--r--docs/maintain/index.html8
-rwxr-xr-xresources/scripts/helpers/build/clean/rom_images2
-rwxr-xr-xresources/scripts/helpers/build/external/source4
-rwxr-xr-xresources/scripts/helpers/build/release/archives18
-rwxr-xr-xresources/scripts/helpers/build/roms/helper6
-rwxr-xr-xresources/scripts/helpers/download/bucts2
-rwxr-xr-xresources/scripts/helpers/download/coreboot4
-rwxr-xr-xresources/scripts/helpers/download/flashrom2
-rwxr-xr-xresources/scripts/helpers/download/grub2
-rwxr-xr-xresources/scripts/helpers/download/memtest86plus2
-rw-r--r--resources/utilities/ich9deblob/Makefile2
15 files changed, 31 insertions, 31 deletions
diff --git a/docs/archive_old.html b/docs/archive_old.html
index 038fb87..2f5d314 100644
--- a/docs/archive_old.html
+++ b/docs/archive_old.html
@@ -203,7 +203,7 @@
<li>scripts (all): fix typos</li>
<li>Documentation: general cleanup.</li>
<li>builddeps-flashrom: reduce build commands to a single for loop</li>
- <li>scripts (all): replace unnecessary rm -rf with rm -f</li>
+ <li>scripts (all): replace unnecessary rm -Rf with rm -f</li>
<li>powertop.trisquel7: remove sudo (script already checks if the user is root)</li>
<li>docs/release.html: add lenovo g505s to the list of candidates</li>
<li>.gitignore: add libreboot_bin.tar.xz and libreboot_src.tar.xz</li>
@@ -575,7 +575,7 @@
<li>'buildrom-withgrub' script: updated it to create 2 sets of ROMs for each machine: one with text-mode, one with coreboot framebuffer.</li>
<li>Documentation: updated index.html#rom to reflect the above</li>
<li>Deleted unused README and COPYING file from main directory</li>
- <li>Removed some rm -rf .git* instructions from the get* scripts and moved them to build-release script</li>
+ <li>Removed some rm -Rf .git* instructions from the get* scripts and moved them to build-release script</li>
<li>
Split up default grub.cfg into 6 parts: extra/{common.cfg,txtmode.cfg,vesafb.cfg} and menuentries/{common.cfg,txtmode.cfg,vesafb.cfg}
<ul>
diff --git a/docs/gnulinux/configuring_parabola.html b/docs/gnulinux/configuring_parabola.html
index 3cf5d60..6d2ebe2 100644
--- a/docs/gnulinux/configuring_parabola.html
+++ b/docs/gnulinux/configuring_parabola.html
@@ -356,7 +356,7 @@
</p>
<p>
- The wiki recommends that if the journal gets too large, you can also simply delete (rm -rf) everything inside /var/log/journald/*
+ The wiki recommends that if the journal gets too large, you can also simply delete (rm -Rf) everything inside /var/log/journald/*
but recommends backing it up. This shouldn't be necessary, since you already set the size limit above and systemd will automatically
start to delete older records when the journal size reaches it's limit (according to systemd developers).
</p>
diff --git a/docs/gnulinux/encrypted_parabola.html b/docs/gnulinux/encrypted_parabola.html
index 09e16d7..1538b9a 100644
--- a/docs/gnulinux/encrypted_parabola.html
+++ b/docs/gnulinux/encrypted_parabola.html
@@ -284,7 +284,7 @@
&nbsp;&nbsp;&nbsp;I deleted the files that it mentioned
and then it worked. Specifically, I had this error:<br/>
&nbsp;&nbsp;&nbsp;<i>licenses: /usr/share/licenses/common/MPS exists in filesystem</i><br/>
- &nbsp;&nbsp;&nbsp;I rm -rf'd the file and then pacman worked. I'm told that the following would have also made it work:<br/>
+ &nbsp;&nbsp;&nbsp;I rm -Rf'd the file and then pacman worked. I'm told that the following would have also made it work:<br/>
&nbsp;&nbsp;&nbsp;# <b>pacman -Sf licenses</b><br/>
&lt;/troubleshooting&gt;<br/>
</p>
diff --git a/docs/gnulinux/grub_cbfs.html b/docs/gnulinux/grub_cbfs.html
index 12b0376..1813629 100644
--- a/docs/gnulinux/grub_cbfs.html
+++ b/docs/gnulinux/grub_cbfs.html
@@ -363,7 +363,7 @@
Instead, go into /boot and create your own symlinks (update them manually when you install a new kernel update).<br/>
$ <b>sudo -s</b><br/>
# <b>cd /boot/</b><br/>
- # <b>rm -rf vmlinuz initrd.img</b><br/>
+ # <b>rm -Rf vmlinuz initrd.img</b><br/>
# <b>ln -s <u>kernel</u> ksym</b><br/>
# <b>ln -s <u>initrd</u> isym</b><br/>
# <b>exit</b>
diff --git a/docs/maintain/index.html b/docs/maintain/index.html
index a8cc0a5..5779801 100644
--- a/docs/maintain/index.html
+++ b/docs/maintain/index.html
@@ -130,7 +130,7 @@
<p>
If you already had a coreboot/ directory in your libreboot
tree, delete it:<br/>
- $ <b>rm -rf coreboot/</b>
+ $ <b>rm -Rf coreboot/</b>
</p>
<p>
@@ -151,7 +151,7 @@
</p>
<p>
Delete the .git* resources. For example:<br/>
- $ <b>rm -rf .git*</b><br/>
+ $ <b>rm -Rf .git*</b><br/>
...this is to avoid the deblobbing script from picking up files
in there as blobs, which would be only false positives and
increase the amount of time taken. Now come out of coreboot:<br/>
@@ -219,7 +219,7 @@
<p>
Now delete the coreboot directory:<br/>
- $ <b>rm -rf coreboot/</b>
+ $ <b>rm -Rf coreboot/</b>
</p>
<p>
@@ -403,7 +403,7 @@
<h1 id="updating_grub">Updating GRUB</h1>
<p>
- $ <b>rm -rf grub/</b><br/>
+ $ <b>rm -Rf grub/</b><br/>
$ <b>git clone git://git.savannah.gnu.org/grub.git</b><br/>
$ <b>cd grub/</b><br/>
$ <b>git log</b>
diff --git a/resources/scripts/helpers/build/clean/rom_images b/resources/scripts/helpers/build/clean/rom_images
index 02833c3..3a7d90c 100755
--- a/resources/scripts/helpers/build/clean/rom_images
+++ b/resources/scripts/helpers/build/clean/rom_images
@@ -28,7 +28,7 @@ set -u -e
# --------------------------------------------------------
# delete the bin/ directory
-rm -rf bin/
+rm -Rf bin/
printf "Deleted the bin/ directory containing the ROM images.\n\n"
diff --git a/resources/scripts/helpers/build/external/source b/resources/scripts/helpers/build/external/source
index 31dc2fd..e6b9209 100755
--- a/resources/scripts/helpers/build/external/source
+++ b/resources/scripts/helpers/build/external/source
@@ -26,7 +26,7 @@ set -u -e
printf "Creating source archive for flashrom and bucts\n"
# delete the old data
-rm -rf tobuild
+rm -Rf tobuild
rm -f tobuild.tar.xz
# this is where they will go
@@ -68,6 +68,6 @@ cp resources/scripts/misc/powertop.trisquel7 tobuild/
tar -c tobuild | xz -9e >tobuild.tar.xz
# and delete the directory
-rm -rf tobuild/
+rm -Rf tobuild/
printf "\n\n"
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
diff --git a/resources/scripts/helpers/build/roms/helper b/resources/scripts/helpers/build/roms/helper
index aa2dcc7..a89ea57 100755
--- a/resources/scripts/helpers/build/roms/helper
+++ b/resources/scripts/helpers/build/roms/helper
@@ -103,20 +103,20 @@ do
done
# This config-less ROM is no longer needed
- rm -rf "$1"_"$romtype".rom
+ rm -Rf "$1"_"$romtype".rom
done
# Now we clean up and prepare the bin directory containing all the images
# ----------------------------------------------------------------------------------------------------------------------------
# prepare directory for new ROM images
-rm -rf "$1"
+rm -Rf "$1"
mkdir "$1"
# move the ROM's into the newly created directory
mv "$1"*rom "$1"
# delete the old ROM's from ../bin
-rm -rf ../bin/"$1"
+rm -Rf ../bin/"$1"
# now put the new ROM's in ./bin
mv "$1" ../bin
diff --git a/resources/scripts/helpers/download/bucts b/resources/scripts/helpers/download/bucts
index b5defea..2fc543f 100755
--- a/resources/scripts/helpers/download/bucts
+++ b/resources/scripts/helpers/download/bucts
@@ -31,7 +31,7 @@ set -u -e
printf "Downloading bucts\n"
-rm -rf bucts
+rm -Rf bucts
# Get bucts
# ------------------------------------------------------------------------------
diff --git a/resources/scripts/helpers/download/coreboot b/resources/scripts/helpers/download/coreboot
index ad358b0..ab61074 100755
--- a/resources/scripts/helpers/download/coreboot
+++ b/resources/scripts/helpers/download/coreboot
@@ -32,7 +32,7 @@ printf "Downloading coreboot, patching coreboot and deblobbing coreboot\n"
# Remove the old version that may exist
# ------------------------------------------------------------------------------
-rm -rf coreboot
+rm -Rf coreboot
# Get latest coreboot:
# ------------------------------------------------------------------------------
@@ -140,7 +140,7 @@ git am ../resources/libreboot/patch/0023-lenovo-x200-Enable-wacom-digitizer-supp
# ------------------------------------------------------------------------------
printf "Deleting .git* in coreboot/ (history inside .git contains the blobs that were deleted)\n"
-rm -rf .git
+rm -Rf .git
rm -f .gitreview
rm -f .gitmodules
rm -f .gitignore
diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom
index 9a966ee..093aac8 100755
--- a/resources/scripts/helpers/download/flashrom
+++ b/resources/scripts/helpers/download/flashrom
@@ -31,7 +31,7 @@ set -u -e
printf "Downloading flashrom\n"
-rm -rf flashrom
+rm -Rf flashrom
# Get flashrom
# ------------------------------------------------------------------------------
diff --git a/resources/scripts/helpers/download/grub b/resources/scripts/helpers/download/grub
index 91f97ff..e35d731 100755
--- a/resources/scripts/helpers/download/grub
+++ b/resources/scripts/helpers/download/grub
@@ -31,7 +31,7 @@ set -u -e
printf "Downloading GRUB\n"
-rm -rf grub
+rm -Rf grub
# Get latest GRUB
# ------------------------------------------------------------------------------
diff --git a/resources/scripts/helpers/download/memtest86plus b/resources/scripts/helpers/download/memtest86plus
index 99fc3c4..9fa20dd 100755
--- a/resources/scripts/helpers/download/memtest86plus
+++ b/resources/scripts/helpers/download/memtest86plus
@@ -32,7 +32,7 @@ set -u -e
printf "Downloading MemTest86+\n"
-rm -rf "memtest86+-5.01"
+rm -Rf "memtest86+-5.01"
# Get latest memtest86+:
# ------------------------------------------------------------------------------
diff --git a/resources/utilities/ich9deblob/Makefile b/resources/utilities/ich9deblob/Makefile
index 51d7e0e..563b43c 100644
--- a/resources/utilities/ich9deblob/Makefile
+++ b/resources/utilities/ich9deblob/Makefile
@@ -89,4 +89,4 @@ obj/gbe/gbe.o:
# make clean
# ----------------------------------------------------------------------
clean:
- rm -rf ich9deblob ich9gen demefactory obj/*.o obj/*/*.o
+ rm -Rf ich9deblob ich9gen demefactory obj/*.o obj/*/*.o