From 84566a3a7de9bf1d6bd796e6d049861f2f36565d Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 29 Oct 2015 12:22:10 -0400 Subject: [PATCH] [SCons] Fix incorrect directory created in build tree The 'Mkdir' command was creating a (literal) '#include' directory, rather than taking the '#' to mean the top of the source tree. The 'Mkdir' command is unnecessary anyway, since the 'Copy' command will create the necessary subdirectory. Fixes #304. --- ext/SConscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/SConscript b/ext/SConscript index b90f61792..4d52791f7 100644 --- a/ext/SConscript +++ b/ext/SConscript @@ -51,8 +51,7 @@ def prep_cppformat(env): localenv = prep_default(env) build(localenv.Command("#include/cantera/ext/format.h", "#ext/cppformat/format.h", - [Mkdir("#include/cantera/ext"), - Copy('$TARGET', '$SOURCE')])) + Copy('$TARGET', '$SOURCE'))) return localenv # each element of libs is: (subdir, (file extensions), prepfunction)