aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/clean
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-11 01:30:48 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-11 01:30:48 +0100
commit12c50f7939c02db85f05830c4b9fccf464b3977a (patch)
tree42c0b72ee957cc2f70b442cefb14923b06cb8507 /resources/scripts/helpers/build/clean
parent34270811fce1ecf0bcf3b1363b0dc3dbf284ab09 (diff)
downloadlibrebootfr-12c50f7939c02db85f05830c4b9fccf464b3977a.tar.gz
librebootfr-12c50f7939c02db85f05830c4b9fccf464b3977a.zip
all script: use a standard style
Based on the style used for the script in resources/scripts/helpers/build/release/
Diffstat (limited to 'resources/scripts/helpers/build/clean')
-rwxr-xr-xresources/scripts/helpers/build/clean/bucts4
-rwxr-xr-xresources/scripts/helpers/build/clean/coreboot8
-rwxr-xr-xresources/scripts/helpers/build/clean/flashrom8
-rwxr-xr-xresources/scripts/helpers/build/clean/grub6
-rwxr-xr-xresources/scripts/helpers/build/clean/i945pwm4
-rwxr-xr-xresources/scripts/helpers/build/clean/ich9deblob4
-rwxr-xr-xresources/scripts/helpers/build/clean/memtest86plus2
-rwxr-xr-xresources/scripts/helpers/build/clean/rom_images2
8 files changed, 19 insertions, 19 deletions
diff --git a/resources/scripts/helpers/build/clean/bucts b/resources/scripts/helpers/build/clean/bucts
index 80fe3a83..2d3f9bb5 100755
--- a/resources/scripts/helpers/build/clean/bucts
+++ b/resources/scripts/helpers/build/clean/bucts
@@ -29,12 +29,12 @@ set -u -e
printf "Cleaning the previous build of bucts\n"
-cd bucts/
+cd "bucts/"
make clean
printf "\n\n"
# done. go back to main directory.
-cd ../
+cd "../"
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/coreboot b/resources/scripts/helpers/build/clean/coreboot
index b542989c..1eb8ab33 100755
--- a/resources/scripts/helpers/build/clean/coreboot
+++ b/resources/scripts/helpers/build/clean/coreboot
@@ -29,7 +29,7 @@ set -u -e
printf "Cleaning the previous build of the utilities in coreboot\n"
-cd coreboot/
+cd "coreboot/"
# ----------------------
# clean coreboot itself:
@@ -40,11 +40,11 @@ make clean
# clean the utilities
# -------------------
# clean cbfstool
-cd util/cbfstool/
+cd "util/cbfstool/"
make clean
# go back to coreboot dir
-cd ../../
+cd "../../"
# -------------------------------------
# clean reference crossGCC for coreboot
@@ -53,7 +53,7 @@ cd ../../
make crossgcc-clean
# done. go back to main directory
-cd ../
+cd "../"
printf "\n\n"
diff --git a/resources/scripts/helpers/build/clean/flashrom b/resources/scripts/helpers/build/clean/flashrom
index 41f5d284..d7eba900 100755
--- a/resources/scripts/helpers/build/clean/flashrom
+++ b/resources/scripts/helpers/build/clean/flashrom
@@ -29,15 +29,15 @@ set -u -e
printf "Cleaning the previous build of flashrom\n"
-cd flashrom/
+cd "flashrom/"
make clean
# remove patched binaries
-rm -f flashrom_lenovobios_sst
-rm -f flashrom_lenovobios_macronix
+rm -f "flashrom_lenovobios_sst"
+rm -f "flashrom_lenovobios_macronix"
# done. go back to main directory
-cd ../
+cd "../"
printf "\n\n"
diff --git a/resources/scripts/helpers/build/clean/grub b/resources/scripts/helpers/build/clean/grub
index 9a806a21..cf22c8a0 100755
--- a/resources/scripts/helpers/build/clean/grub
+++ b/resources/scripts/helpers/build/clean/grub
@@ -27,13 +27,13 @@ set -u -e
# clean grub
# --------------------------------------------------------
-cd grub/
+cd "grub/"
printf "Cleaning the previous build of GRUB\n"
-[[ -f Makefile ]] && make distclean
+[[ -f "Makefile" ]] && make distclean
# done. go back to main directoy
-cd ../
+cd "../"
printf "\n\n"
diff --git a/resources/scripts/helpers/build/clean/i945pwm b/resources/scripts/helpers/build/clean/i945pwm
index ff383e89..11838590 100755
--- a/resources/scripts/helpers/build/clean/i945pwm
+++ b/resources/scripts/helpers/build/clean/i945pwm
@@ -28,9 +28,9 @@ set -u -e
# --------------------------------------------------------------------
printf "Cleaning the previous build of i945-pwm\n"
-cd resources/utilities/i945-pwm
+cd "resources/utilities/i945-pwm/"
make clean
-cd ../../../
+cd "../../../"
printf "\n\n"
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/ich9deblob b/resources/scripts/helpers/build/clean/ich9deblob
index 04d971a7..cfca981d 100755
--- a/resources/scripts/helpers/build/clean/ich9deblob
+++ b/resources/scripts/helpers/build/clean/ich9deblob
@@ -28,9 +28,9 @@ set -u -e
# --------------------------------------------------------------------
printf "Cleaning the previous build of ich9deblob\n"
-cd resources/utilities/ich9deblob/
+cd "resources/utilities/ich9deblob/"
make clean
-cd ../../../
+cd "../../../"
printf "\n\n"
# ------------------- DONE ----------------------
diff --git a/resources/scripts/helpers/build/clean/memtest86plus b/resources/scripts/helpers/build/clean/memtest86plus
index 3ad8130a..ad259153 100755
--- a/resources/scripts/helpers/build/clean/memtest86plus
+++ b/resources/scripts/helpers/build/clean/memtest86plus
@@ -34,7 +34,7 @@ cd "memtest86+-5.01"/
make clean
# done. go back to main directory
-cd ../
+cd "../"
printf "\n\n"
diff --git a/resources/scripts/helpers/build/clean/rom_images b/resources/scripts/helpers/build/clean/rom_images
index 3a7d90c0..e952d5c7 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"