Default JAVA_HOME to /usr/lib/jvm/java-6-sun
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 17 Sep 2009 14:05:59 +0000 (16:05 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 17 Sep 2009 14:05:59 +0000 (16:05 +0200)
libyaz4j/build.sh

index d326fda..98f55d9 100755 (executable)
@@ -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`