Use mktemp -d rather than --directory to fix the test script on osx

This commit is contained in:
Maxime Coste 2014-12-09 21:07:27 +00:00
parent 1d721bcd6c
commit fd84ad5adf

View File

@ -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