Add XXX to the end of mktemp template to support more linux versions.

This commit is contained in:
Ryan Mills 2015-04-12 01:36:13 +00:00
parent dd15b47bdf
commit 04bc81ff6b
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