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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-10-09 22:48:32 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-10-09 22:48:32 +0400
commitbde414837569fd85f3806d63e56c2d087a0b6760 (patch)
treeca7a7b5a152f5f5e259f247127467727c42ffe25 /intern
parent110b32cf6f2f4bff6fbba33d0a34513c28fbc146 (diff)
Fix OSL shader build failing with spaces in the path to build directory,
patch by Campbell.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/shaders/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/shaders/SConscript b/intern/cycles/kernel/shaders/SConscript
index aad6e23e4d4..12143e7f6e9 100644
--- a/intern/cycles/kernel/shaders/SConscript
+++ b/intern/cycles/kernel/shaders/SConscript
@@ -57,7 +57,7 @@ if env['WITH_BF_CYCLES_OSL']:
osl_file = os.path.join(source_dir, f)
oso_file = os.path.join(build_dir, f.replace('.osl', '.oso'))
- command = "%s -q -O2 -I%s -o %s %s" % (osl_compiler, source_dir, oso_file, osl_file)
+ command = [osl_compiler, "-q", "-O2", "-I", source_dir, oso_file, osl_file]
shaders.Command(oso_file, f, command)
shaders.Depends(oso_file, [f] + dependencies)