aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-25 17:46:36 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-25 17:46:36 +0100
commit9b03deac0e7fa09e7f2a19aaf01505579ee28309 (patch)
tree1d789975debcc5808292fa8d2e3f1fc48b1f3a83 /resources
parent2c79f20291b6ad47c8f422285eaaac03a4c470f1 (diff)
downloadlibrebootfr-9b03deac0e7fa09e7f2a19aaf01505579ee28309.tar.gz
librebootfr-9b03deac0e7fa09e7f2a19aaf01505579ee28309.zip
build/config/corebootreplace: make directory if not exist
Diffstat (limited to 'resources')
-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 781c3bde..718a3def 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