diff options
author | grant <grant@pkgsrc.org> | 2003-09-19 01:29:00 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-09-19 01:29:00 +0000 |
commit | a3fabf7b04ee866e042a33172279ffba55bf8e4b (patch) | |
tree | 0a8f038c6422e0f6cd108ba9fe2d7bb96f355639 /pkgtools | |
parent | bbf9eae3119bf693f6047d5712a1006e0fec82a4 (diff) | |
download | pkgsrc-a3fabf7b04ee866e042a33172279ffba55bf8e4b.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" \ |