summaryrefslogtreecommitdiff
path: root/pkgtools/x11-links
diff options
context:
space:
mode:
authorheinz <heinz>2004-05-15 13:57:12 +0000
committerheinz <heinz>2004-05-15 13:57:12 +0000
commit7790bc9d585e75bc0cc55087d0377e951baed236 (patch)
treea792dac59233ecfd05a390029c851a9397ea1a02 /pkgtools/x11-links
parent940bb5bef100b0c4241a467844c7af43ebc8bc10 (diff)
downloadpkgsrc-7790bc9d585e75bc0cc55087d0377e951baed236.tar.gz
Use option "-r" instead of "-e" for ${TEST} since this is not portable to some
operating systems (eg UnixWare).
Diffstat (limited to 'pkgtools/x11-links')
-rw-r--r--pkgtools/x11-links/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/x11-links/Makefile b/pkgtools/x11-links/Makefile
index a935b928b66..cb4942c0529 100644
--- a/pkgtools/x11-links/Makefile
+++ b/pkgtools/x11-links/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2004/03/11 05:16:49 jlam Exp $
+# $NetBSD: Makefile,v 1.58 2004/05/15 13:57:12 heinz Exp $
#
# NOTE: If you update this package, then you'll likely need to also update
# the x11-links dependency in mk/buildlink[23]/bsd.buildlink[23].mk
@@ -61,7 +61,7 @@ do-build:
${RM} -f ${PLIST_SRC.files}
${FILES_LIST_CMD} | ${SORT} -u | \
while read file; do \
- if ${TEST} -e ${X11BASE}/$$file; then \
+ if ${TEST} -r ${X11BASE}/$$file; then \
${LN} -fs ${X11BASE}/$$file \
${X11_LINKS_BUILD_DIR}/$$file; \
${ECHO} "${X11_LINKS_SUBDIR}/$$file" \