Commit 71d501d4 authored by Łukasz Nowak's avatar Łukasz Nowak

- make tclsh available


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39842 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 53c30a40
import os
import shutil
def pre_configure_hook(options, buildout):
os.chdir('unix')
def post_make_hook(options, buildout):
bindir = os.path.join(options['location'], 'bin')
destination = os.path.join(bindir, 'tclsh')
if not os.path.exists(destination):
original = os.path.join(bindir, [q for q in os.listdir(bindir) if q.startswith('tclsh')][0])
shutil.copy(original, destination)
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