chiark / gitweb /
jpctb: set jreleaf correctly in the easy case
[jarrg-ian.git] / 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"`