Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-09-15 18:50:14 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-09-15 18:50:14 +0400
commitbff1bef6bbb4e0cbfc06c6868b6422bc77fed7c4 (patch)
treef8f882073a93f618599c8cb3a82612b12905178f /SConstruct
parentd5ee95644d935c9b87103cb0810983761bdeb6a8 (diff)
Fix SCons for [#23833]. Ensure that empty dirs will exist too.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 11493511ffa..032b1eb1ea8 100644
--- a/SConstruct
+++ b/SConstruct
@@ -492,6 +492,9 @@ if env['OURPLATFORM']!='darwin':
dir += os.sep + os.path.basename(scriptpath) + dp[len(scriptpath):]
source=[os.path.join(dp, f) for f in df if f[-3:]!='pyc']
+ # To ensure empty dirs are created too
+ if len(source)==0:
+ env.Execute(Mkdir(dir))
scriptinstall.append(env.Install(dir=dir,source=source))
#-- icons