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 3557cd234bcf175845016e7ded7feab13dcb57c0..14b05d0d99c6e7cd034b3e4e383fcb32dd1d0f5a 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"`