Allow symlinks in user_scripts, this fixes raised exeption in copy_prefs for version_... v2.60
authorJens Verwiebe <info@jensverwiebe.de>
Mon, 17 Oct 2011 16:36:03 +0000 (16:36 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Mon, 17 Oct 2011 16:36:03 +0000 (16:36 +0000)
release/scripts/startup/bl_operators/wm.py

index 63104ca..a539e26 100644 (file)
@@ -1161,7 +1161,7 @@ class WM_OT_copy_prev_settings(Operator):
         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