From: Ian Jackson Date: Tue, 24 Aug 2010 23:44:33 +0000 (+0100) Subject: jpctb: set jreleaf correctly in the easy case X-Git-Tag: 0.9.3^0 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=commitdiff_plain;ds=sidebyside;h=e2645900282df089aa924637fc00df3a94094f29;p=jarrg-ian.git jpctb: set jreleaf correctly in the easy case --- diff --git a/jpctb b/jpctb index 3557cd2..14b05d0 100755 --- a/jpctb +++ b/jpctb @@ -119,6 +119,7 @@ fi javadir="${yppjava%/bin/java}" if [ -x "$javadir/jre/bin/java" ]; then echo " java/ points to the jre, good" + jreleaf=jre else echo " java/ has just the executable bin/java, trying readlink" absjava=`readlink -f "$yppjava"`