Remove --tmpdir from mktemp

This option is not portable and does not work on Darwin. The -t option
and the usage of a relative name implies anyway that $TMPDIR will be
used, on all mktemp versions.

Change-Id: I3abfc8606b37d6e2f8c5ff4dc6855a4558e8f7c9
This commit is contained in:
Julien Danjou 2014-07-28 15:41:36 +02:00
parent 2746db1570
commit f26ce10a4f
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function clean_exit(){
}
# Setup MongoDB test server
MONGO_DATA=`mktemp -d --tmpdir CEILO-MONGODB-XXXXX`
MONGO_DATA=`mktemp -d CEILO-MONGODB-XXXXX`
MONGO_PORT=29000
trap "clean_exit" EXIT
mkfifo ${MONGO_DATA}/out