chiark / gitweb /
jpctb: Use yppdir not $yohoho
[jarrg-owen.git] / jpctb
diff --git a/jpctb b/jpctb
index 7fc11b8..ee8ff62 100755 (executable)
--- a/jpctb
+++ b/jpctb
@@ -81,8 +81,8 @@ fi
 yppdir="${yohoho%/*}"
 
 # this replicates the java-searching logic from yohoho/yohoho:
-if [ -x "$yohoho/java/bin/java" ]; then
-       yppjava="$yohoho/java/bin/java"
+if [ -x "$yppdir/java/bin/java" ]; then
+       yppjava="$yppdir/java/bin/java"
 elif [ -x "$JAVA_HOME/bin/java" ]; then
        yppjava="$JAVA_HOME/bin/java"
 else
@@ -95,6 +95,7 @@ cat <<END
 jpctb:
    jpctb tree:  "$jpctbdir"
    yohoho:       "$yohoho"
+   ypp dir:      "$yppdir"
    ypp uses:     "$yppjava"
 END