diff options
author | mat <mat@FreeBSD.org> | 2014-11-27 21:14:24 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-11-27 21:14:24 +0800 |
commit | 94cb5ce7c33317307f07eea00824afe0274351af (patch) | |
tree | dda6b6ee3078a7e9352a89bd4860a1c87333ba0b /Mk/Uses | |
parent | c0a92443834b82e62f7ec2c2649518c32db4600b (diff) | |
download | freebsd-ports-gnome-94cb5ce7c33317307f07eea00824afe0274351af.tar.gz freebsd-ports-gnome-94cb5ce7c33317307f07eea00824afe0274351af.tar.zst freebsd-ports-gnome-94cb5ce7c33317307f07eea00824afe0274351af.zip |
Use TMPPLIST, not PLIST.
Sponsored by: Absolight
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/perl5.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk index a756fc68aede..cc8581ba57ef 100644 --- a/Mk/Uses/perl5.mk +++ b/Mk/Uses/perl5.mk @@ -271,10 +271,9 @@ PACKLIST_DIR?= ${PREFIX}/${SITE_ARCH_REL}/auto fix-perl-things: # Remove STAGEDIR from .packlist and add the file to the plist. @(if [ -d ${STAGEDIR}${PACKLIST_DIR} ] ; then \ - cd ${STAGEDIR} ; \ - find .${PACKLIST_DIR} -name .packlist | while read f ; do \ + find ${STAGEDIR}${PACKLIST_DIR} -name .packlist | while read f ; do \ ${SED} -i '' 's|^${STAGEDIR}||' "$$f"; \ - ${ECHO} $$f >> ${PLIST}; \ + ${ECHO} $$f | ${SED} -e 's|^${STAGEDIR}||' >> ${TMPPLIST}; \ done \ fi) || : |