From 12c50f7939c02db85f05830c4b9fccf464b3977a Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Wed, 10 Jun 2015 20:30:48 -0400 Subject: all script: use a standard style Based on the style used for the script in resources/scripts/helpers/build/release/ --- (limited to 'resources/scripts/helpers/download/flashrom') 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" -- cgit v0.9.1