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:
parent
2746db1570
commit
f26ce10a4f
@ -9,7 +9,7 @@ function clean_exit(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Setup MongoDB test server
|
# Setup MongoDB test server
|
||||||
MONGO_DATA=`mktemp -d --tmpdir CEILO-MONGODB-XXXXX`
|
MONGO_DATA=`mktemp -d CEILO-MONGODB-XXXXX`
|
||||||
MONGO_PORT=29000
|
MONGO_PORT=29000
|
||||||
trap "clean_exit" EXIT
|
trap "clean_exit" EXIT
|
||||||
mkfifo ${MONGO_DATA}/out
|
mkfifo ${MONGO_DATA}/out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user