diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-06-10 20:30:48 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-06-10 20:30:48 (EDT) |
commit | 12c50f7939c02db85f05830c4b9fccf464b3977a (patch) | |
tree | 42c0b72ee957cc2f70b442cefb14923b06cb8507 /resources/scripts/helpers/build/config/corebootmodify | |
parent | 34270811fce1ecf0bcf3b1363b0dc3dbf284ab09 (diff) | |
download | libreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.zip libreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.tar.gz libreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.tar.bz2 |
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/config/corebootmodify')
-rwxr-xr-x | resources/scripts/helpers/build/config/corebootmodify | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/resources/scripts/helpers/build/config/corebootmodify b/resources/scripts/helpers/build/config/corebootmodify index cb22008..bfb6a03 100755 --- a/resources/scripts/helpers/build/config/corebootmodify +++ b/resources/scripts/helpers/build/config/corebootmodify @@ -25,22 +25,22 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e -cd resources/libreboot/config/ +cd "resources/libreboot/config/" if [ $# -lt 1 ]; then - configs=$(ls) + configs="$(ls)" else - configs=$@ + configs="$@" fi -cd ../../../coreboot/ -for config in $configs; do - printf "Updating config for $config\n" +cd "../../../coreboot/" +for config in ${configs}; do + printf "Updating config for %s\n" "${config}" sleep 5 - mv ../resources/libreboot/config/$config/config .config + mv "../resources/libreboot/config/${config}/config" ".config" make menuconfig - mv .config ../resources/libreboot/config/$config/config + mv ".config" "../resources/libreboot/config/${config}/config" done -cd ../ +cd "../" |