summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/config
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/config')
-rwxr-xr-xresources/scripts/helpers/build/config/corebootmodify18
-rwxr-xr-xresources/scripts/helpers/build/config/corebootreplace16
-rwxr-xr-xresources/scripts/helpers/build/config/corebootupdate18
3 files changed, 26 insertions, 26 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 "../"
diff --git a/resources/scripts/helpers/build/config/corebootreplace b/resources/scripts/helpers/build/config/corebootreplace
index 9be5c9a..781c3bd 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 "../"
diff --git a/resources/scripts/helpers/build/config/corebootupdate b/resources/scripts/helpers/build/config/corebootupdate
index 4e4db74..fa0a1fe 100755
--- a/resources/scripts/helpers/build/config/corebootupdate
+++ b/resources/scripts/helpers/build/config/corebootupdate
@@ -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 oldconfig
- mv .config ../resources/libreboot/config/$config/config
+ mv ".config" "../resources/libreboot/config/${config}/config"
done
-cd ../
+cd "../"