Files
galaxy/run.sh
T
Daniel Blankenberg 547ecf0960 Removing arch and module directories. Removing old operations (and tests), since they require arch; updated tool_conf.xml.sample.
Removed non-arch specific cheetah egg, since compiled c code (once located in arch) is included in arch specific eggs. Removed a
tool called basicStats2, which used arch, but hasn't been in tool_conf.xml for some time.
2007-01-16 17:05:33 +00:00

21 lines
642 B
Bash

#!/bin/sh
## Set MACHTYPE to something,
MACHTYPE=`uname -m`
if [[ $MACHTYPE = "Power Macintosh" ]]; then MACHTYPE="powerpc"; fi
export MACHTYPE
export LC_ALL=POSIX
KERNEL=`uname -s | tr "A-Z" "a-z"`
ARCH="$KERNEL-$MACHTYPE"
echo "Architecture appears to be $ARCH"
export UNIVERSE_HOME=`pwd`
export PATH=$PATH:/depot/apps/$MACHTYPE/bin:/home/universe/$ARCH/EMBOSS/EMBOSS-3.0.0/bin:/home/universe/$ARCH/EMBOSS/bin:/home/universe/$ARCH/ImageMagick/bin:/home/universe/$ARCH/PAML/paml3.15/bin
export PYTHONPATH=$UNIVERSE_HOME/lib:$UNIVERSE_HOME/eggs
echo "python path: $PYTHONPATH"
python2.4 ./scripts/paster.py serve universe_wsgi.ini $@