From: Alex Burka Date: Mon, 27 Jul 2015 18:34:01 +0000 (-0700) Subject: tests: short args for mktemp to support BSD X-Git-Tag: 0.4.0~8^2~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4a478528c27e52547d2bf9b2618cd3ae29956249;p=fdroidserver.git tests: short args for mktemp to support BSD *BSD and OSX do not have compatible long args --- diff --git a/tests/run-tests b/tests/run-tests index df4d6355..b8f55763 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -35,12 +35,12 @@ create_fake_android_home() { create_test_dir() { test -e $WORKSPACE/.testfiles || mkdir $WORKSPACE/.testfiles - mktemp --directory --tmpdir=$WORKSPACE/.testfiles + TMPDIR=$WORKSPACE/.testfiles mktemp -d } create_test_file() { test -e $WORKSPACE/.testfiles || mkdir $WORKSPACE/.testfiles - mktemp --tmpdir=$WORKSPACE/.testfiles + TMPDIR=$WORKSPACE/.testfiles mktemp } #------------------------------------------------------------------------------#