Commit ac20f7c8 authored by Łukasz Nowak's avatar Łukasz Nowak

- as ghostscript tarball contain syminks which are not supported by

   python re-add them before configuration


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38557 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0dcdff17
import os
def pre_configure_hook(oprtions, buildout):
# fixes python bug related to not creating symlink contained in tarfiles
for missing in 'configure.ac', 'Makefile.in':
if not os.path.islink(os.path.join(os.path.curdir, missing)):
os.symlink(os.path.join(os.path.curdir, 'base', missing),
os.path.join(os.path.curdir, missing))
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