diff options
author | grant <grant> | 2003-09-19 01:29:00 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-19 01:29:00 +0000 |
commit | 08c38f41949abe7b7a6cff1c0c17ffc991b3ac30 (patch) | |
tree | 0a8f038c6422e0f6cd108ba9fe2d7bb96f355639 /pkgtools | |
parent | b671d43bc51aaf122fc71c3d7c8dc88bfd8c916c (diff) | |
download | pkgsrc-08c38f41949abe7b7a6cff1c0c17ffc991b3ac30.tar.gz |
test's -e operator doesn't work with the sh built-in test on Solaris,
use ${TEST} -e instead.
noted by mlh@goatnospamhill.org on tech-pkg@.
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 cf55ed4d3be..a2055b13d79 100644 --- a/pkgtools/x11-links/Makefile +++ b/pkgtools/x11-links/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2003/09/09 09:02:30 jlam Exp $ +# $NetBSD: Makefile,v 1.40 2003/09/19 01:29:00 grant 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 [ -e ${X11BASE}/$$file ]; then \ + if ${TEST} -e ${X11BASE}/$$file; then \ ${LN} -fs ${X11BASE}/$$file \ ${X11_LINKS_BUILD_DIR}/$$file; \ ${ECHO} "${X11_LINKS_SUBDIR}/$$file" \ |