diff --git a/bin/runmigration b/bin/runmigration index b45fabb1..19b7c259 100755 --- a/bin/runmigration +++ b/bin/runmigration @@ -35,7 +35,7 @@ set -e wait_postgres.sh -CACHE_DIR=/tmp +CACHE_DIR=${CACHE_DIR:=/tmp/cachedb} echo $CACHE_DIR diff --git a/bin/runtests b/bin/runtests index 4013d7f4..84cf7b8e 100755 --- a/bin/runtests +++ b/bin/runtests @@ -30,7 +30,7 @@ set -e wait_postgres.sh LOCAL_SRC_DIR=/odoo/local-src -CACHE_DIR=/tmp +CACHE_DIR=${CACHE_DIR:=/tmp/cachedb} if [ -z $1 ]; then LOCAL_ADDONS=$(find ${LOCAL_SRC_DIR}/* -maxdepth 0 -type d -and -not -name server_environment_files -printf "%f\n" |