summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-25 12:46:36 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-25 12:46:36 (EDT)
commit9b03deac0e7fa09e7f2a19aaf01505579ee28309 (patch)
tree1d789975debcc5808292fa8d2e3f1fc48b1f3a83 /resources/scripts/helpers
parent2c79f20291b6ad47c8f422285eaaac03a4c470f1 (diff)
downloadlibreboot-9b03deac0e7fa09e7f2a19aaf01505579ee28309.zip
libreboot-9b03deac0e7fa09e7f2a19aaf01505579ee28309.tar.gz
libreboot-9b03deac0e7fa09e7f2a19aaf01505579ee28309.tar.bz2
build/config/corebootreplace: make directory if not exist
Diffstat (limited to 'resources/scripts/helpers')
-rwxr-xr-xresources/scripts/helpers/build/config/corebootreplace4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/config/corebootreplace b/resources/scripts/helpers/build/config/corebootreplace
index 781c3bd..718a3de 100755
--- a/resources/scripts/helpers/build/config/corebootreplace
+++ b/resources/scripts/helpers/build/config/corebootreplace
@@ -37,8 +37,10 @@ cd "../../../coreboot/"
for config in ${configs}; do
printf "Updating config for %s\n" "${config}"
sleep 5
-
+
make menuconfig
+
+ [ ! -d "../resources/libreboot/config/${config}/" ] && mkdir -p "../resources/libreboot/config/${config}/"
mv ".config" "../resources/libreboot/config/${config}/config"
done