8198627: JDK-8198318 broke readlink testing
authorihse
Fri, 23 Feb 2018 14:08:25 -0800
changeset 48946 129aeb5026c3
parent 48945 6e6c777a37a2
child 48947 b4dd09b5d6d8
8198627: JDK-8198318 broke readlink testing Reviewed-by: erikj, tbell, prr, simonis
make/autoconf/basics.m4
--- a/make/autoconf/basics.m4	Fri Feb 23 13:42:04 2018 -0800
+++ b/make/autoconf/basics.m4	Fri Feb 23 14:08:25 2018 -0800
@@ -263,7 +263,7 @@
       READLINK_TESTED=yes
     fi
 
-    if test "x$READLINK" != x && "x$READLINK_ISGNU" != x; then
+    if test "x$READLINK" != x && test "x$READLINK_ISGNU" != x; then
       $1=`$READLINK -f [$]$1`
     else
       # Save the current directory for restoring afterwards