cvs commit: ports/ports-mgmt/portmaster/files portmaster.sh.in
Doug Barton
dougb at FreeBSD.org
Mon Aug 27 15:48:25 PDT 2007
dougb 2007-08-27 22:48:24 UTC
FreeBSD ports repository
Modified files:
ports-mgmt/portmaster/files portmaster.sh.in
Log:
Improvement
===========
1. Before calling pkg_create for the installed version of the port,
cd into the PKGREPOSITORY directory. This not only simplifies the code,
it helps handle the problems of ports trees mounted read-only. [1]
2. Factor out initialization of the $pkgrep directory into a function.
Bug fixes
=========
1. Before calling 'find ${pkgrep}/ ... -delete' assert that $pkgrep is
not empty.
2. Make sure that $pkgrep is initialized everywhere it's needed.
Suggested by: Hans Lambermont <hans at lambermont.dyndns.org> [1]
Revision Changes Path
1.20 +22 -14 ports/ports-mgmt/portmaster/files/portmaster.sh.in
More information about the cvs-all
mailing list