diff options
author | Joshua Leung <aligorith@gmail.com> | 2012-05-23 08:15:50 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2012-05-23 08:15:50 +0400 |
commit | 523a6b0424030972c4f077495439f7ee9955a301 (patch) | |
tree | bff7d63300ab7c3b488eb3bacc3c8a6c9fc122f4 /SConstruct | |
parent | f6d5b7ffd7de0d21ac62a5a8aaba9d2b0ae08a6e (diff) |
Scons - only go to the trouble of making these directories if they don't already
exist!
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 46ce989e9c0..bbf3dff0394 100644 --- a/SConstruct +++ b/SConstruct @@ -553,7 +553,7 @@ if env['OURPLATFORM']!='darwin': source=[os.path.join(dp, f) for f in df if not f.endswith(".pyc")] # To ensure empty dirs are created too - if len(source)==0: + if len(source)==0 and not os.path.exists(dir): env.Execute(Mkdir(dir)) scriptinstall.append(env.Install(dir=dir,source=source)) if env['WITH_BF_CYCLES']: |