aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/config/corebootreplace
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/config/corebootreplace')
-rwxr-xr-xresources/scripts/helpers/build/config/corebootreplace16
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/scripts/helpers/build/config/corebootreplace b/resources/scripts/helpers/build/config/corebootreplace
index 9be5c9a5..781c3bde 100755
--- a/resources/scripts/helpers/build/config/corebootreplace
+++ b/resources/scripts/helpers/build/config/corebootreplace
@@ -25,21 +25,21 @@
[ "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
make menuconfig
- mv .config ../resources/libreboot/config/$config/config
+ mv ".config" "../resources/libreboot/config/${config}/config"
done
-cd ../
+cd "../"