From 0e3ab8bd859358d3de2e97a5ac6edae81642cbdc Mon Sep 17 00:00:00 2001 From: Raymond Toy <toy.raymond@gmail.com> Date: Mon, 18 May 2015 18:52:30 -0700 Subject: [PATCH] Make sure the target directory exists before compiling the unix contrib. --- bin/build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/build.sh b/bin/build.sh index 487744611..73a0a1fdf 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -262,8 +262,10 @@ $TARGET/lisp/lisp -noinit -nositeinit -batch << EOF || exit 3 (compile-file "modules:defsystem/defsystem") (intl::install) (ext:without-package-locks - (compile-file #-linux "modules:unix/unix" - #+linux "modules:unix/unix-glibc2")) + (let ((path #-linux "modules:unix/unix" + #+linux "modules:unix/unix-glibc2")) + (ensure-directories-exist (compile-file-pathname path)) + (compile-file path))) EOF -- GitLab