diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2002-07-15 07:17:24 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2002-07-15 07:17:24 +0000 |
commit | 7b57f8493501189c1a04a01803fc2c6c7426114f (patch) | |
tree | 0053287c0b68c2a79d2cfb97df2fb5a58f267940 /java/jdk13/Makefile | |
parent | 245d2fb7d21f1e780defd265393128ab6e825d99 (diff) |
Notes
Diffstat (limited to 'java/jdk13/Makefile')
-rw-r--r-- | java/jdk13/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile index a6c683ac8c20..1c74eb0f8619 100644 --- a/java/jdk13/Makefile +++ b/java/jdk13/Makefile @@ -123,7 +123,7 @@ pre-patch: pre-build: @if [ "$${WRKDIRPREFIX}" -a \ -L "/compat/linux/$${WRKDIRPREFIX}" -a \ - x`readlink "/compat/linux/$${WRKDIRPREFIX}"` = x"$${WRKDIRPREFIX}" ]; \ + x`ls -ld "/compat/linux/$${WRKDIRPREFIX}" 2>/dev/null | awk '/->/{print $$NF;exit 0}END{exit 1}'` = x"$${WRKDIRPREFIX}" ]; \ then \ echo "Please set WRKDIRPREFIX to something which doesn't"; \ echo "have a matching symbolic link in /compat/linux."; \ |