From 04bc81ff6b6ede29ee1977f6523737ee1852bcf7 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 a87a6f2c09..7a751fe672 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