diff options
author | heinz <heinz> | 2004-01-27 00:53:10 +0000 |
---|---|---|
committer | heinz <heinz> | 2004-01-27 00:53:10 +0000 |
commit | 022eb86624280ef9db72559a99f9253a3d003132 (patch) | |
tree | 0e38a95bbce9b72b902212b13f3fff0a72b2b5fd /print | |
parent | 1625c0b6c06f52d627a1188b73ab66598be1896e (diff) | |
download | pkgsrc-022eb86624280ef9db72559a99f9253a3d003132.tar.gz |
Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248
Diffstat (limited to 'print')
-rw-r--r-- | print/texfamily-share/Makefile | 8 |
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; \ |