8198627: JDK-8198318 broke readlink testing

Reviewed-by: erikj, tbell, prr, simonis
This commit is contained in:
Magnus Ihse Bursie 2018-02-23 14:08:25 -08:00
parent 62ec6e6d1d
commit 9f9f7ec458

View File

@ -263,7 +263,7 @@ AC_DEFUN([BASIC_REMOVE_SYMBOLIC_LINKS],
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