summaryrefslogtreecommitdiffstats
path: root/bin/quickpkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/quickpkg')
-rwxr-xr-xbin/quickpkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index 2b204e9a6..226b7bd82 100755
--- 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