mirror of
https://github.com/go-i2p/gomobile-java.git
synced 2025-07-14 04:44:47 -04:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user