mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
waht python is available and use the right directory. Factored path stuff out of shell scripts into a shared 'setup_paths.sh'.
18 lines
342 B
Bash
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 $@
|