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:
authorCampbell Barton <ideasman42@gmail.com>2012-08-10 19:25:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-10 19:25:54 +0400
commit24ac1ce44ec0dcf4ede75fa54210212086d4e7e9 (patch)
tree7b9ef0ea2aaed7433baa18fb3d51a198277f6225 /SConstruct
parent94a3945cf9de0913b75f83b26e2e62b3bc1b0c07 (diff)
fix own error with scons, building failed when BF_BUILDDIR was absolute.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 9f8027c1706..53e1911a3e7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -451,7 +451,7 @@ if not os.path.isdir ( B.root_build_dir):
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("/", "\\")