Use mktemp -d rather than --directory to fix the test script on osx
This commit is contained in:
parent
1d721bcd6c
commit
fd84ad5adf
2
test/run
2
test/run
|
@ -7,7 +7,7 @@ main() {
|
||||||
number_failures=0
|
number_failures=0
|
||||||
dirs="$@"
|
dirs="$@"
|
||||||
test=$(pwd)
|
test=$(pwd)
|
||||||
work=$(mktemp --directory)
|
work=$(mktemp -d)
|
||||||
cp -R . $work
|
cp -R . $work
|
||||||
trap "rm -R $work" EXIT
|
trap "rm -R $work" EXIT
|
||||||
for dir in $(find $dirs -type d); do
|
for dir in $(find $dirs -type d); do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user