summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/download/flashrom
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/download/flashrom')
-rwxr-xr-xresources/scripts/helpers/download/flashrom10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/scripts/helpers/download/flashrom b/resources/scripts/helpers/download/flashrom
index 093aac8..8006432 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
# ------------------------------------------------------------------------------
@@ -41,18 +41,18 @@ svn co -r 1889 svn://flashrom.org/flashrom/trunk flashrom
# apply patches
-cd flashrom/
+cd "flashrom/"
printf "Enabling whitelist for X200S, X200 Tablet, T400, T500 and R400\n"
-patch board_enable.c < ../resources/flashrom/patch/x200s_x200t_t400_t500_r400_whitelist.diff
+patch "board_enable.c" < "../resources/flashrom/patch/x200s_x200t_t400_t500_r400_whitelist.diff"
# Remove redundant definitions for the flash chips that
# supported libreboot machines use. This removes the need
# for the user to run with the "-c" argument on these machines
printf "Patching flashchips.c to remove the redundant entries\n"
-patch flashchips.c < ../resources/flashrom/patch/purged_chips.diff
+patch "flashchips.c" < "../resources/flashrom/patch/purged_chips.diff"
-cd ../
+cd "../"
printf "\n\n"