changeset 49125:129aeb5026c3

8198627: JDK-8198318 broke readlink testing Reviewed-by: erikj, tbell, prr, simonis
author ihse
date Fri, 23 Feb 2018 14:08:25 -0800
parents 6e6c777a37a2
children b4dd09b5d6d8
files make/autoconf/basics.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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