$NetBSD: patch-libjava_classpath_script_loc,v 1.1 2013/11/16 07:41:00 mef Exp $ portablily check --- libjava/classpath/scripts/loc.orig 2013-06-14 06:33:15.000000000 +0900 +++ libjava/classpath/scripts/loc 2013-11-08 09:55:51.000000000 +0900 @@ -19,7 +19,7 @@ MODE=$1 -if test "$MODE" == "-l"; then +if test "$MODE" = "-l"; then COMMAND='(locate \*.jar ; locate \*.war)' shift else @@ -27,7 +27,7 @@ fi FOO=$2 -if test "x$FOO" == "x"; then +if test "x$FOO" = "x"; then FOO=/usr/share/java fi