Commit d6f77dea authored by Hanno Schlichting's avatar Hanno Schlichting

Remove bin/ from mkzopesite skeleton.

These scripts are either installed by a virtualenv or buildout and
conflict when creating an instance home inside the same directory.
parent e080dab9
......@@ -188,12 +188,6 @@ def copyskel(sourcedir, targetdir, uid, gid, **replacements):
print >>sys.stderr, msg
sys.exit(1)
# fix file permissions in 'bin' directory
bin_dir = os.path.join(targetdir, 'bin')
for fname in os.listdir(bin_dir):
fullname = os.path.join(bin_dir, fname)
os.chmod(fullname, 0700)
def copydir(args, sourcedir, names):
targetdir, replacements, uid, gid = args
......
@set INSTANCE_HOME=<<INSTANCE_HOME>>
@set CONFIG_FILE=%INSTANCE_HOME%\etc\zope.conf
@set ZOPE_RUN=<<ZOPE_SCRIPTS>>\runzope
"%ZOPE_RUN%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
#! /bin/sh
INSTANCE_HOME="<<INSTANCE_HOME>>"
CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf"
ZOPE_RUN="<<ZOPE_SCRIPTS>>/runzope"
export INSTANCE_HOME
exec "$ZOPE_RUN" -C "$CONFIG_FILE" "$@"
@set PYTHON=<<PYTHON>>
@set INSTANCE_HOME=<<INSTANCE_HOME>>
@set CONFIG_FILE=%INSTANCE_HOME%\etc\zope.conf
@set ZDCTL=<<ZOPE_SCRIPTS>>\zopectl
"%ZDCTL%" -C "%CONFIG_FILE%" %1 %2 %3 %4 %5 %6 %7
#! /bin/sh
PYTHON="<<PYTHON>>"
INSTANCE_HOME="<<INSTANCE_HOME>>"
CONFIG_FILE="<<INSTANCE_HOME>>/etc/zope.conf"
ZDCTL="<<ZOPE_SCRIPTS>>/zopectl"
export INSTANCE_HOME
export PYTHON
exec "$ZDCTL" -C "$CONFIG_FILE" "$@"
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