pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/x11-links test's -e operator doesn't work wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/421b2bc26f43
branches:  trunk
changeset: 461663:421b2bc26f43
user:      grant <grant%pkgsrc.org@localhost>
date:      Fri Sep 19 01:29:00 2003 +0000

description:
test's -e operator doesn't work with the sh built-in test on Solaris,
use ${TEST} -e instead.

noted by mlh%goatnospamhill.org@localhost on tech-pkg@.

diffstat:

 pkgtools/x11-links/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a5283fbd0301 -r 421b2bc26f43 pkgtools/x11-links/Makefile
--- a/pkgtools/x11-links/Makefile       Fri Sep 19 00:53:58 2003 +0000
+++ b/pkgtools/x11-links/Makefile       Fri Sep 19 01:29:00 2003 +0000
@@ -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 @@
        ${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"            \



Home | Main Index | Thread Index | Old Index