diff options
author | heinz <heinz@pkgsrc.org> | 2004-05-15 13:57:12 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-05-15 13:57:12 +0000 |
commit | 23c1021c8036bcecf220c4e8a7b30c2c7ffed430 (patch) | |
tree | a792dac59233ecfd05a390029c851a9397ea1a02 /pkgtools | |
parent | 121f2aafd0030f929d493d50f649cc427dd62a14 (diff) | |
download | pkgsrc-23c1021c8036bcecf220c4e8a7b30c2c7ffed430.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')
-rw-r--r-- | pkgtools/x11-links/Makefile | 4 |
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" \ |