Add XXX to the end of mktemp template to support more linux versions.
This commit is contained in:
parent
f772412b92
commit
1a5d104ad9
|
@ -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