mirror of
https://github.com/status-im/consul.git
synced 2025-02-26 12:25:41 +00:00
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
17e6fe262b
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Create a temp dir and clean it up on exit
|
# 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
|
trap "rm -rf $TEMPDIR" EXIT HUP INT QUIT TERM
|
||||||
|
|
||||||
# Build the Consul binary for the API tests
|
# Build the Consul binary for the API tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user