~ubuntu-branches/ubuntu/maverick/m2crypto/maverick

« back to all changes in this revision

Viewing changes to demo/Zope/starts

  • Committer: Bazaar Package Importer
  • Author(s): Dima Barsky
  • Date: 2004-03-30 21:54:28 UTC
  • Revision ID: james.westby@ubuntu.com-20040330215428-7zulfxz4xt31w2xr
Tags: upstream-0.13
ImportĀ upstreamĀ versionĀ 0.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
umask 077
 
3
reldir=`dirname $0`
 
4
cwd=`cd $reldir; pwd`
 
5
# Zope's event logger is controlled by the "EVENT_LOG_FILE" environment
 
6
# variable.  If you don't have a "EVENT_LOG_FILE" environment variable
 
7
# (or its older alias "STUPID_LOG_FILE") set, Zope will log to the standard
 
8
# output.  For more information on EVENT_LOG_FILE, see doc/ENVIRONMENT.txt.
 
9
ZLOGFILE=$EVENT_LOG_FILE
 
10
if [ -z "$ZLOGFILE" ]; then
 
11
        ZLOGFILE=$STUPID_LOG_FILE
 
12
fi
 
13
if [ -z "$ZLOGFILE" ]; then
 
14
        EVENT_LOG_FILE=""
 
15
        export EVENT_LOG_FILE
 
16
fi
 
17
exec /usr/local/bin/python2.1 $cwd/z2s.py -D "$@"