Commit 0cec51c6 authored by Łukasz Nowak's avatar Łukasz Nowak

- some python versions do not have tarfile bug, so check before playing with linking


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43224 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f66fef8c
import os import os
def pre_make_hook(options, buildout): def pre_make_hook(options, buildout):
# workaround python's tarfile bug with links # workaround python's tarfile bug with links
os.symlink('../LICENSE', os.path.join('conf', 'LICENSE')) if not os.path.lexists(os.path.join('conf', 'LICENSE')):
os.symlink('../TLS_LICENSE', os.path.join('conf', 'TLS_LICENSE')) os.symlink('../LICENSE', os.path.join('conf', 'LICENSE'))
if not os.path.lexists(os.path.join('conf', 'LICENSE')):
os.symlink('../TLS_LICENSE', os.path.join('conf', 'TLS_LICENSE'))
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