From: Zac Medico Date: Thu, 8 Nov 2007 22:03:32 +0000 (-0000) Subject: Bug #198492 - Make quickpkg create $PKGDIR if it doesn't X-Git-Tag: v2.2_pre1~424 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=704d5fc9c6410cfa10b3e0ff551499b4635d4fe9;p=portage.git Bug #198492 - Make quickpkg create $PKGDIR if it doesn't already exist. svn path=/main/trunk/; revision=8464 --- 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