Date: Mon, 27 Aug 2007 22:48:24 +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: <200708272248.l7RMmOSL067211@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@lambermont.dyndns.org> [1] Revision Changes Path 1.20 +22 -14 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?200708272248.l7RMmOSL067211>