summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2004-01-27 00:53:10 +0000
committerheinz <heinz@pkgsrc.org>2004-01-27 00:53:10 +0000
commit18a916d5e6481b140ffb5e120e09d36645a44a11 (patch)
tree0e38a95bbce9b72b902212b13f3fff0a72b2b5fd /print
parentd84262f580a6d28b6b7bde5294039c4f6e0999df (diff)
downloadpkgsrc-18a916d5e6481b140ffb5e120e09d36645a44a11.tar.gz
Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248
Diffstat (limited to 'print')
-rw-r--r--print/texfamily-share/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/print/texfamily-share/Makefile b/print/texfamily-share/Makefile
index 799485940a7..62e4c93737f 100644
--- a/print/texfamily-share/Makefile
+++ b/print/texfamily-share/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/01/20 12:24:29 agc Exp $
+# $NetBSD: Makefile,v 1.11 2004/01/27 00:53:10 heinz Exp $
DISTNAME= TeXfamily-share-1.2.1
PKGREVISION= 4
@@ -54,13 +54,13 @@ do-install:
post-install:
@cd ${PREFIX}; \
${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}; \
- ${FIND} share/texmf.local -type f|sort >> ${PLIST_SRC}; \
- for LINK in `${FIND} share/texmf.local -type l`; do \
+ ${FIND} share/texmf.local -type f -print |sort >> ${PLIST_SRC}; \
+ for LINK in `${FIND} share/texmf.local -type l -print`; do \
set - X `${FILE} $$LINK`; \
${ECHO} "@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
${ECHO} "@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \
done; \
- for DIR in `${FIND} share/texmf.local -type d | sort -r`; do \
+ for DIR in `${FIND} share/texmf.local -type d -print | sort -r`; do \
if [ -z "`ls $$DIR`" ]; then \
${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \
fi; \