Ignore .Blanguages and .bfont.ttf when installing.
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 20 Sep 2011 14:41:01 +0000 (14:41 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 20 Sep 2011 14:41:01 +0000 (14:41 +0000)
This files aren't used by blender anymore but they leads to
portable install when using scons.

SConstruct

index 01522b3..42ee334 100644 (file)
@@ -522,11 +522,13 @@ if env['OURPLATFORM']!='darwin':
                 dn.remove('_svn')
             
             for f in df:
+                # This files aren't used anymore
+                if f in ['.Blanguages', '.bfont.ttf']:
+                    continue
+
                 if not env['WITH_BF_INTERNATIONAL']:
                     if 'locale' in dp:
                         continue
-                    if f == '.Blanguages':
-                        continue
                 if not env['WITH_BF_FREETYPE']:
                     if f.endswith('.ttf'):
                         continue