aboutsummaryrefslogtreecommitdiff
path: root/bin/genenetwork2
diff options
context:
space:
mode:
Diffstat (limited to 'bin/genenetwork2')
-rwxr-xr-xbin/genenetwork210
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index d7d1c325..b2de4c95 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -79,13 +79,13 @@ fi
# We may change this one:
export PYTHONPATH=$GN2_BASE_DIR/wqflask:$PYTHONPATH
-# TEMPDIR defaults to /tmp if nothing else
-if [ -z $TEMPDIR ]; then
- TEMPDIR="/tmp"
+# Our UNIX TMPDIR defaults to /tmp - change this on a shared server
+if [ -z $TMPDIR ]; then
+ TMPDIR="/tmp"
fi
set|grep $GN2_PROFILE
-set|grep TEMPDIR
+set|grep TMPDIR
# Now handle command parameter -c
if [ "$1" = '-c' ] ; then
@@ -98,7 +98,7 @@ if [ "$1" = '-c' ] ; then
fi
echo "Starting the redis server:"
-echo -n "dir $TEMPDIR
+echo -n "dir $TMPDIR
dbfilename gn2.rdb
" | redis-server - &