From b7afce4cc192c4a96121be3970714cf5cca7a4ca Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 16 Jun 2012 14:52:46 -0400 Subject: [PATCH] Create figures/scratch immediately, so it's there by the time we run LaTeX. --- src/figures/SConscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/figures/SConscript b/src/figures/SConscript index 33d2016..031615e 100644 --- a/src/figures/SConscript +++ b/src/figures/SConscript @@ -4,6 +4,8 @@ from site_cons.site_tools.asymptote import asyfigs # Get the passed in environment. Import('env') +if Execute(Mkdir('scratch')): + Exit(1) # failed to make the Asymptote scratch directory env = include_child_SConscripts(env, SConscript, first=['asy', 'script']) env.Alias('asymptote-figures', asyfigs) -- 2.26.2