Default to /tmp if TMPDIR is not set

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1461 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2010-10-11 22:20:58 +00:00
parent 99f14b7dec
commit 24565cf5de

4
refine
View File

@ -525,8 +525,8 @@ ui_test() {
INTERACTIVE=$1
windmill_prepare
REFINE_DATA_DIR="${TMPDIR}/google-refine-tests"
REFINE_DATA_DIR="${TMPDIR:=/tmp}/google-refine-tests"
add_option "-Drefine.headless=true"