Use option "-r" instead of "-e" for ${TEST} since this is not portable to some
operating systems (eg UnixWare).
This commit is contained in:
parent
121f2aafd0
commit
23c1021c80
3 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.16 2004/04/24 00:46:15 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2004/05/15 13:57:12 heinz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mgl2-alpha-020
|
||||
|
@ -64,7 +64,7 @@ post-install:
|
|||
.endfor
|
||||
${LN} -s mglcons.sh ${PREFIX}/bin/start_mgl.sh
|
||||
|
||||
@if ${TEST} -e ${PREFIX}/bin/mglsvrcons; \
|
||||
@if ${TEST} -r ${PREFIX}/bin/mglsvrcons; \
|
||||
then ${MV} -f ${PREFIX}/bin/mglsvrcons ${PREFIX}/sbin/; \
|
||||
fi
|
||||
# The following three commands are only present on hpcmips:
|
||||
|
|
|
@ -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" \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.106 2004/05/06 14:44:53 taca Exp $
|
||||
# $NetBSD: Makefile,v 1.107 2004/05/15 13:57:12 heinz Exp $
|
||||
|
||||
DISTNAME= squid-2.5.STABLE5
|
||||
PKGNAME= squid-2.5.5
|
||||
|
@ -104,7 +104,7 @@ post-install:
|
|||
done
|
||||
@( \
|
||||
for FILE in ${OPTIONAL_FILES}; do \
|
||||
${TEST} ! -e ${PREFIX}/$$FILE || ${ECHO} $$FILE; \
|
||||
${TEST} ! -r ${PREFIX}/$$FILE || ${ECHO} $$FILE; \
|
||||
done; \
|
||||
cd ${WRKSRC}/errors; \
|
||||
for i in *; do \
|
||||
|
|
Loading…
Reference in a new issue