Merge pull request #858 from Heuriskein/mktempbackwardscompat
Add XXX to the end of mktemp template to support more linux versions.
This commit is contained in:
commit
0e22d44d96
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Create a temp dir and clean it up on exit
|
||||
TEMPDIR=`mktemp -d -t consul-test`
|
||||
TEMPDIR=`mktemp -d -t consul-test.XXX`
|
||||
trap "rm -rf $TEMPDIR" EXIT HUP INT QUIT TERM
|
||||
|
||||
# Build the Consul binary for the API tests
|
||||
|
|
Loading…
Reference in New Issue