chiark / gitweb /
jpctb: More fixes for testing
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 22 Aug 2010 18:05:10 +0000 (19:05 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 22 Aug 2010 18:05:10 +0000 (19:05 +0100)
jpctb

diff --git a/jpctb b/jpctb
index 2e2db6d..c7bfe4b 100755 (executable)
--- a/jpctb
+++ b/jpctb
@@ -84,7 +84,7 @@ if [ -x "$yppdir/java/bin/java" ]; then
                echo "   yohoho/java/bin and yohoho/java/jre exist, good"
                javadir="$yppdir/java"
        else
-               absjava=`readlink -f "$javadir/bin/java"`
+               absjava=`readlink -f "$yppdir/java/bin/java"`
                cat <<END
    yohoho/java/bin exists but yohoho/java/jre does not
    abs. java:    "$absjava"
@@ -117,7 +117,7 @@ fi
 openjdk=/usr/lib/jvm/java-6-openjdk
 
 if [ "x$javadir" = x ] && [ -x $openjdk/bin/java ]; then
-       echo "  using openjdk, hopefully it will work with YPP!"
+       echo "   using openjdk, hopefully it will work with YPP!"
        javadir=$openjdk
 fi