[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49772] trunk/blender/SConstruct: fix own error with scons, building failed when BF_BUILDDIR was absolute.
Campbell Barton
ideasman42 at gmail.com
Fri Aug 10 17:25:54 CEST 2012
Revision: 49772
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49772
Author: campbellbarton
Date: 2012-08-10 15:25:54 +0000 (Fri, 10 Aug 2012)
Log Message:
-----------
fix own error with scons, building failed when BF_BUILDDIR was absolute.
Modified Paths:
--------------
trunk/blender/SConstruct
Modified: trunk/blender/SConstruct
===================================================================
--- trunk/blender/SConstruct 2012-08-10 15:25:50 UTC (rev 49771)
+++ trunk/blender/SConstruct 2012-08-10 15:25:54 UTC (rev 49772)
@@ -451,7 +451,7 @@
if not os.path.isdir ( B.root_build_dir + 'data_headers'):
os.makedirs ( B.root_build_dir + 'data_headers' )
# use for includes
-env['DATA_HEADERS'] = "#" + env['BF_BUILDDIR'] + "/data_headers"
+env['DATA_HEADERS'] = os.path.join(os.path.abspath(env['BF_BUILDDIR']), "data_headers")
def ensure_data(FILE_FROM, FILE_TO, VAR_NAME):
if os.sep == "\\":
FILE_FROM = FILE_FROM.replace("/", "\\")
More information about the Bf-blender-cvs
mailing list