From 1a5d104ad9ecb7f02b83c164fff0eecac1e3812e Mon Sep 17 00:00:00 2001 From: Ryan Mills Date: Sun, 12 Apr 2015 01:36:13 +0000 Subject: [PATCH] Add XXX to the end of mktemp template to support more linux versions. --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index a87a6f2c0..7a751fe67 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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