chiark / gitweb /
jpctb: set jreleaf correctly in the easy case 0.9.3
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Tue, 24 Aug 2010 23:44:33 +0000 (00:44 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Tue, 24 Aug 2010 23:44:33 +0000 (00:44 +0100)
jpctb

diff --git a/jpctb b/jpctb
index 3557cd2..14b05d0 100755 (executable)
--- 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"`