From bae020623a730783a70df8b4dade2c53ebd49c84 Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Fri, 28 Mar 2008 13:11:46 +0000 Subject: [PATCH] Update cleanup scripts to use get_python.sh --- delete_userless_histories.sh | 5 +++-- purge_datasets.sh | 5 +++-- purge_histories.sh | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/delete_userless_histories.sh b/delete_userless_histories.sh index f476e20674b..7673537daca 100644 --- a/delete_userless_histories.sh +++ b/delete_userless_histories.sh @@ -1,5 +1,6 @@ #!/bin/sh -source ./setup_paths.sh +. ./scripts/get_python.sh +. ./setup_paths.sh -python2.4 ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -2 $@ >> ./delete_userless_histories.log +$GALAXY_PYTHON ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -2 $@ >> ./delete_userless_histories.log diff --git a/purge_datasets.sh b/purge_datasets.sh index 40b46a1be99..dd5d6739e1f 100644 --- a/purge_datasets.sh +++ b/purge_datasets.sh @@ -1,5 +1,6 @@ #!/bin/sh -source ./setup_paths.sh +. ./scripts/get_python.sh +. ./setup_paths.sh -python2.4 ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -6 -r $@ >> ./purge_datasets.log +$GALAXY_PYTHON ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -6 -r $@ >> ./purge_datasets.log diff --git a/purge_histories.sh b/purge_histories.sh index 80fc511010f..e18cdca8d37 100644 --- a/purge_histories.sh +++ b/purge_histories.sh @@ -1,5 +1,6 @@ #!/bin/sh -source ./setup_paths.sh +. ./scripts/get_python.sh +. ./setup_paths.sh -python2.4 ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -4 -r $@ >> ./purge_histories.log +$GALAXY_PYTHON ./scripts/cleanup_datasets.py ./universe_wsgi.ini -d 10 -4 -r $@ >> ./purge_histories.log