From 208f6d4d7481f6025d77d17518ff4d2e140c3480 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 16 Jan 2019 14:18:36 +0100 Subject: [PATCH] Small fixes to build script --- nix/build-all.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/build-all.py b/nix/build-all.py index c06cb21abd..0118d2df6b 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -196,6 +196,7 @@ dependency_tree = { 'python': (), 'swig': (), 'occ': (), + 'cgal': (), 'pcre': () } @@ -285,7 +286,7 @@ def run_autoconf(arg1, configure_args, cwd): install_dir = os.path.realpath("%s/install/%s" % (DEPS_DIR, arg1)) if not os.path.exists(install_dir): # Some (MPFR) need to have prefix dir manually created - os.mkdir(install_dir) + os.makedirs(install_dir) if not os.path.exists(configure_path): run([bash, "./autogen.sh"], cwd=os.path.realpath(os.path.join(cwd, ".."))) # only run autogen.sh in the directory it is located and use cwd to achieve that in order to not mess up things # Using `sh` over `bash` fixes issues with building swig