bind/java: give mktemp a template for darwin hosts

Change-Id: I4bf795cfe76daae9a922c671722db3e2fa44a0c0
Reviewed-on: https://go-review.googlesource.com/1320
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
David Crawshaw 2014-12-10 15:56:01 -05:00
parent 748d0d3152
commit 71604ab0e3
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function cleanup() {
}
if [ -z "$ANDROID_APP" ]; then
ANDROID_APP=`mktemp -d` || die 'failed to create a temporary directory'
ANDROID_APP=`mktemp -d /tmp/android-java.XXXXX` || die 'failed to create a temporary directory'
echo "Temporary directory for test: $ANDROID_APP"
trap cleanup EXIT
fi