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:
Ryan Uber 2015-04-11 21:21:32 -07:00
commit 0e22d44d96
1 changed files with 1 additions and 1 deletions

View File

@ -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