fail "couldn't find the right jre: $*
perhaps you should make ypp's java symlink (normally yohoho/java)
point to your jre, eg to /usr/lib/jvm/java-6-sun"
+}
badusage () {
fail "bad usage: $*"
nojre "java binary not in jre dir"
;;
esac
- fi
fi
case "$javadir" in
-|/|/usr) nojre "javadir is $javadir (and even found $javadir/jre!)" ;;
+''|/|/usr) nojre "javadir is $javadir (and even found $javadir/jre!)" ;;
/*) ;;
*) javadir="$PWD/$javadir" ;;
esac