Remove unnecessary \''s. This cleans up also printouts in splash and bpy.app (no...
authorNathan Letwory <nathan@letworyinteractive.com>
Sun, 29 Aug 2010 21:53:12 +0000 (21:53 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Sun, 29 Aug 2010 21:53:12 +0000 (21:53 +0000)
build_files/scons/tools/Blender.py

index f388bbefeee565377a7f3e3ac56e71c3776b6e91..a878a38f1eb6d5a19d2585cc3abc359d1e3323bc 100644 (file)
@@ -284,12 +284,12 @@ def buildinfo(lenv, build_type):
 
     obj = []
     if lenv['BF_BUILDINFO']:
-        lenv.Append (CPPDEFINES = ['BUILD_TIME=\'"%s"\''%(build_time),
-                                    'BUILD_DATE=\'"%s"\''%(build_date),
-                                    'BUILD_TYPE=\'"%s"\''%(build_type),
-                                    'BUILD_REV=\'"%s"\''%(build_rev),
+        lenv.Append (CPPDEFINES = ['BUILD_TIME="%s"'%(build_time),
+                                    'BUILD_DATE="%s"'%(build_date),
+                                    'BUILD_TYPE="%s"'%(build_type),
+                                    'BUILD_REV="%s"'%(build_rev),
                                     'NAN_BUILDINFO',
-                                   'BUILD_PLATFORM=\'"%s:%s"\''%(platform.system(), platform.architecture()[0])])
+                                   'BUILD_PLATFORM="%s:%s"'%(platform.system(), platform.architecture()[0])])
         obj = [lenv.Object (root_build_dir+'source/creator/%s_buildinfo'%build_type,
                         [root_build_dir+'source/creator/buildinfo.c'])]
     return obj