summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/clean
diff options
context:
space:
mode:
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 80fe3a8..2d3f9bb 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 b542989..1eb8ab3 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 41f5d28..d7eba90 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 9a806a2..cf22c8a 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 ff383e8..1183859 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 04d971a..cfca981 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 3ad8130..ad25915 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 3a7d90c..e952d5c 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"