summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-12-09 21:07:27 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-12-09 21:07:27 +0000
commitfd84ad5adf4e571d839ad2e2437af8335f60e0f3 (patch)
treea2eaa609d5807c26caebd1a86b5821c41ba8ea59
parent1d721bcd6c1b4713c5e05c82bfb7d3df6bfbab4d (diff)
Use mktemp -d rather than --directory to fix the test script on osx
-rwxr-xr-xtest/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run b/test/run
index e8674c60..d42c8ac9 100755
--- a/test/run
+++ b/test/run
@@ -7,7 +7,7 @@ main() {
number_failures=0
dirs="$@"
test=$(pwd)
- work=$(mktemp --directory)
+ work=$(mktemp -d)
cp -R . $work
trap "rm -R $work" EXIT
for dir in $(find $dirs -type d); do