Files
galaxy/run.sh
T
James Taylor a50b8007ef Splitting out UCS2 and UCS4 eggs for linux. Run scripts check
waht python is available and use the right directory. Factored
path stuff out of shell scripts into a shared 'setup_paths.sh'.
2007-12-06 01:27:33 +00:00

18 lines
342 B
Bash

#!/bin/sh
source setup_paths.sh
# Create directories
CREATE_DIRS="
$UNIVERSE_HOME/database/$CREATE_DIR/files
$UNIVERSE_HOME/database/$CREATE_DIR/tmp
"
for CREATE_DIR in $CREATE_DIRS; do
if [ ! -d $CREATE_DIR -o ! -h $CREATE_DIR ]; then
mkdir -p $CREATE_DIR
fi
done
python2.4 ./scripts/paster.py serve universe_wsgi.ini $@