svn path=/main/branches/2.1.6/; revision=12244
pkg = self.pkg
pkg_count = self.pkg_count
- if not self.opts.fetchonly:
+ if not (self.opts.pretend or self.opts.fetchonly):
self._build_dir.lock()
try:
shutil.rmtree(self._build_dir.dir_path)
self.wait()
def _unlock_builddir(self):
- if self.opts.fetchonly:
+ if self.opts.pretend or self.opts.fetchonly:
return
portage.elog.elog_process(self.pkg.cpv, self.settings)
self._build_dir.unlock()