scons - ignore removing _tkinter.so when its not there
authorCampbell Barton <ideasman42@gmail.com>
Thu, 8 Oct 2009 19:32:06 +0000 (19:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 8 Oct 2009 19:32:06 +0000 (19:32 +0000)
tools/Blender.py

index fec11685525a3cf037565713feb5549b4945a092..38d2747889afdbc0bb71beed7cbd3fb1679e374a 100644 (file)
@@ -555,7 +555,7 @@ def UnixPyBundle(target=None, source=None, env=None):
        run('rm -rf "%s/site-packages"' % py_target)
        run('mkdir "%s/site-packages"' % py_target)    # python needs it.'
 
-       run('rm "%s/lib-dynload/_tkinter.so"' % py_target)
+       run('rm -f "%s/lib-dynload/_tkinter.so"' % py_target)
        run('find "%s" -name "test" -prune -exec rm -rf {} \;' % py_target)
        run('find "%s" -name "*.py?" -exec rm -rf {} \;' % py_target)
        run('find "%s" -name "*.so"-exec strip -s {} \;' % py_target)