projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cea59a2
)
Bug #198492 - Make quickpkg create $PKGDIR if it doesn't
author
Zac Medico
<zmedico@gentoo.org>
Thu, 8 Nov 2007 22:03:32 +0000
(22:03 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 8 Nov 2007 22:03:32 +0000
(22:03 -0000)
already exist.
svn path=/main/trunk/; revision=8464
bin/quickpkg
patch
|
blob
|
history
diff --git
a/bin/quickpkg
b/bin/quickpkg
index 2b204e9a6fcc5c22b8d760c904b9e95e1d3e4151..226b7bd8236620a733f8d3cb847807e2d5b3a34a 100755
(executable)
--- a/
bin/quickpkg
+++ b/
bin/quickpkg
@@
-19,6
+19,10
@@
def quickpkg_main(options, args, eout):
vartree = trees["vartree"]
vardb = vartree.dbapi
bintree = trees["bintree"]
+ try:
+ ensure_dirs(bintree.pkgdir)
+ except portage.exception.PortageException:
+ pass
if not os.access(bintree.pkgdir, os.W_OK):
eout.eerror("No write access to '%s'" % bintree.pkgdir)
return errno.EACCES