Date: Fri, 18 Jun 2010 07:35:29 +0000 (UTC) From: Doug Barton <dougb@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/ports-mgmt/portmaster/files portmaster.sh.in Message-ID: <201006180735.o5I7ZTjV072900@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dougb 2010-06-18 07:35:29 UTC
FreeBSD ports repository
Modified files:
ports-mgmt/portmaster/files portmaster.sh.in
Log:
If the user specified --no-confirm don't build the list. With a lot of
ports to update it can get quite large.
If there are a very large number of ports installed the grep in
iport_from_origin() can fail with "Argument list too long." It's also
theoretically possible that the grep would fail for other reasons. So
if it does, fall back to 'pkg_info -O'. My method is faster which is
why I'm still trying it first, but this is a sort of "belt and
suspenders" situation.
Revision Changes Path
2.30 +7 -2 ports/ports-mgmt/portmaster/files/portmaster.sh.in
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006180735.o5I7ZTjV072900>
