From 71604ab0e3ece3a97c97feb127ab7be16bd654ce Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Wed, 10 Dec 2014 15:56:01 -0500 Subject: [PATCH] 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 --- bind/java/test.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind/java/test.bash b/bind/java/test.bash index f47b368..53faa6d 100755 --- a/bind/java/test.bash +++ b/bind/java/test.bash @@ -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