From: Zac Medico Date: Mon, 12 Aug 2013 23:14:46 +0000 (-0700) Subject: egencache: handle empty --portdir-overlay X-Git-Tag: v2.2.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c8ffdb9b8045a95c70bb5e34760efc5be34a392;p=portage.git egencache: handle empty --portdir-overlay --- diff --git a/bin/egencache b/bin/egencache index 3859a06a0..54c517e1d 100755 --- a/bin/egencache +++ b/bin/egencache @@ -860,7 +860,7 @@ def egencache_main(args): if options.repositories_configuration is not None: env['PORTAGE_REPOSITORIES'] = options.repositories_configuration - elif options.portdir_overlay: + elif options.portdir_overlay is not None: env['PORTDIR_OVERLAY'] = options.portdir_overlay if options.cache_dir is not None: diff --git a/pym/portage/_emirrordist/main.py b/pym/portage/_emirrordist/main.py index 3c7b81a37..f28aad7d9 100644 --- a/pym/portage/_emirrordist/main.py +++ b/pym/portage/_emirrordist/main.py @@ -253,7 +253,7 @@ def emirrordist_main(args): if options.repositories_configuration is not None: env['PORTAGE_REPOSITORIES'] = options.repositories_configuration - elif options.portdir_overlay: + elif options.portdir_overlay is not None: env['PORTDIR_OVERLAY'] = options.portdir_overlay if options.portdir is not None: