[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41096] trunk/blender/release/scripts/ startup/bl_operators/wm.py: Allow symlinks in user_scripts, this fixes raised exeption in copy_prefs for version_updates
jens verwiebe
info at jensverwiebe.de
Mon Oct 17 18:36:04 CEST 2011
Revision: 41096
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41096
Author: jensverwiebe
Date: 2011-10-17 16:36:03 +0000 (Mon, 17 Oct 2011)
Log Message:
-----------
Allow symlinks in user_scripts, this fixes raised exeption in copy_prefs for version_updates
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_operators/wm.py
Modified: trunk/blender/release/scripts/startup/bl_operators/wm.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/wm.py 2011-10-17 15:57:26 UTC (rev 41095)
+++ trunk/blender/release/scripts/startup/bl_operators/wm.py 2011-10-17 16:36:03 UTC (rev 41096)
@@ -1161,7 +1161,7 @@
elif not os.path.isdir(path_src):
self.report({'ERROR'}, "Source path %r exists" % path_src)
else:
- shutil.copytree(path_src, path_dst)
+ shutil.copytree(path_src, path_dst, symlinks=True)
# in 2.57 and earlier windows installers, system scripts were copied
# into the configuration directory, don't want to copy those
More information about the Bf-blender-cvs
mailing list