From 0c8ffdb9b8045a95c70bb5e34760efc5be34a392 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 12 Aug 2013 16:14:46 -0700 Subject: [PATCH] egencache: handle empty --portdir-overlay --- bin/egencache | 2 +- pym/portage/_emirrordist/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2