rendered paste body=== modified file 'develop.sh'--- develop.sh 2009-08-09 15:06:57 +0000+++ develop.sh 2007-04-18 12:46:41 +0000@@ -1,4 +1,4 @@-#! /bin/sh+#! /bin/bash # don't accept errors set -e@@ -12,7 +12,7 @@ PIDADIR=$( cd "${ME%/*}"; pwd ) unset ME -if [ "$1" == "--update" ]; then+if [ x"$1" == x"--update" ]; then echo "Updating $PIDADIR..." shift; svn up "$PIDADIR"@@ -31,10 +31,10 @@ EOT cd "$PIDADIR"- python2.4 setup.py develop --install-dir=$PIDADIR/run --script-dir=run 2>&1>$PIDADIR/run/buildlog.log+ python setup.py develop --install-dir=$PIDADIR/run --script-dir=run > $PIDADIR/run/buildlog.log 2>&1 rm setup.cfg grep '^Version:' pida.egg-info/PKG-INFO | cut -d' ' -f2- > pida/data/version ) echo "Starting..."-python2.4 "$PIDADIR/run/pida" $*+python "$PIDADIR/run/pida" $*