[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60647] trunk/blender/intern/cycles/kernel /shaders/SConscript: Fix windows scons OSL build error, just use quotes now instead of array.

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Oct 9 22:11:18 CEST 2013


Revision: 60647
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60647
Author:   blendix
Date:     2013-10-09 20:11:18 +0000 (Wed, 09 Oct 2013)
Log Message:
-----------
Fix windows scons OSL build error, just use quotes now instead of array.

Modified Paths:
--------------
    trunk/blender/intern/cycles/kernel/shaders/SConscript

Modified: trunk/blender/intern/cycles/kernel/shaders/SConscript
===================================================================
--- trunk/blender/intern/cycles/kernel/shaders/SConscript	2013-10-09 20:02:02 UTC (rev 60646)
+++ trunk/blender/intern/cycles/kernel/shaders/SConscript	2013-10-09 20:11:18 UTC (rev 60647)
@@ -57,7 +57,7 @@
             osl_file = os.path.join(source_dir, f)
             oso_file = os.path.join(build_dir, f.replace('.osl', '.oso'))
 
-            command = [osl_compiler, "-q", "-O2", "-I", source_dir, oso_file, osl_file]
+            command = "\"%s\" -q -O2 -I\"%s\" -o \"%s\" \"%s\"" % (osl_compiler, source_dir, oso_file, osl_file)
 
             shaders.Command(oso_file, f, command)
             shaders.Depends(oso_file, [f] + dependencies)




More information about the Bf-blender-cvs mailing list