Skip to content

Commit

Permalink
Add XXX to the end of mktemp template to support more linux versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Heuriskein committed Apr 12, 2015
1 parent dd15b47 commit 04bc81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 04bc81f

Please sign in to comment.