From daf94a4bab985b33f17d6b8474c49213bead4f84 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 24 Dec 2015 12:06:08 -0500 Subject: Make the configure script create the build/ dir if it doesn't exist. --- scripts/build-config | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/build-config') 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) -- cgit v1.2.3