From 593831ff9b6c6e85ef765560cab8d1036490da4c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 17 Sep 2009 16:05:59 +0200 Subject: [PATCH] Default JAVA_HOME to /usr/lib/jvm/java-6-sun --- libyaz4j/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyaz4j/build.sh b/libyaz4j/build.sh index d326fda..98f55d9 100755 --- a/libyaz4j/build.sh +++ b/libyaz4j/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -JNI_DIR=${JAVA_HOME}/include +JNI_DIR=${JAVA_HOME:-/usr/lib/jvm/java-6-sun}/include set -x YAZ_CONFIG=yaz-config YAZ_PREFIX=`${YAZ_CONFIG} --prefix` -- 1.7.10.4