summaryrefslogtreecommitdiff
path: root/scripts/build-config
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-config')
-rwxr-xr-xscripts/build-config4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build-config b/scripts/build-config
index 7d1aa66b..542c4665 100755
--- a/scripts/build-config
+++ b/scripts/build-config
@@ -7,6 +7,7 @@ import os
import getpass
import platform
import json
+import distutils.dir_util
import defaults
@@ -42,5 +43,8 @@ for k, v in args.items():
sys.exit(1)
# Save to file
+
+distutils.dir_util.mkpath(defaults.BUILD_DIR)
+
with open(defaults.BUILD_CONFIG, 'w') as f:
json.dump(args, f)