From be28a24ac93d7c5b14ed309fd2c500d42252bf4e Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 15 May 1998 13:55:35 +0000 Subject: Append a "/." to the ${WRKDIR} value in the find command, to ensure that we traverse through any symbolic links. Make the misc/kp package Makefile a bit neater - remove an unnecessary temporary file. --- misc/kp/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'misc') diff --git a/misc/kp/Makefile b/misc/kp/Makefile index a8203913d34..e5361863275 100644 --- a/misc/kp/Makefile +++ b/misc/kp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 1998/04/24 09:20:36 agc Exp $ +# $NetBSD: Makefile,v 1.7 1998/05/15 13:55:35 agc Exp $ # FreeBSD Id: Makefile,v 1.8 1997/04/20 13:19:32 wosch Exp # @@ -13,10 +13,8 @@ RUN_DEPENDS= wish8.0:../../x11/tk80 MAN1= kp.1 pre-configure: - find ${WRKDIR} -type f -print|xargs ${GREP} -l '/usr/local' > ${WRKDIR}/prefix-list - for f in `cat ${WRKDIR}/prefix-list`; do \ + for f in `find ${WRKDIR}/. -type f -print|xargs ${GREP} -l '/usr/local'`; do \ ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \ done - ${RM} ${WRKDIR}/prefix-list .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3