Commit 4d9c8fc8 authored by Julien Muchembled's avatar Julien Muchembled

Fix [35950]: create a symlink instead

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35951 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 29052122
...@@ -151,10 +151,10 @@ def initializeInstanceHome(tests_framework_home, ...@@ -151,10 +151,10 @@ def initializeInstanceHome(tests_framework_home,
if os.path.islink('Extensions'): if os.path.islink('Extensions'):
os.remove('Extensions') os.remove('Extensions')
for d in static_dir_list + ('bin', 'etc', 'tests', 'var', 'log', 'import'): for d in static_dir_list + ('bin', 'etc', 'tests', 'var', 'log'):
if not os.path.exists(d): if not os.path.exists(d):
os.mkdir(d) os.mkdir(d)
for d in ('Products', 'bt5', 'svn', 'lib'): for d in ('Products', 'bt5', 'svn', 'lib', 'import'):
if not os.path.exists(d): if not os.path.exists(d):
src = os.path.join(real_instance_home, d) src = os.path.join(real_instance_home, d)
if os.path.islink(d): if os.path.islink(d):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment