From 4242e2ce17105cd9a55ee8027c2be795b7c6e91e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 16 Sep 2011 21:09:02 -0700 Subject: repoman: quote paths in PORTDIR_OVERLAY This will fix bug #383269. --- bin/repoman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/repoman b/bin/repoman index b95fc0349..7532a997f 100755 --- a/bin/repoman +++ b/bin/repoman @@ -572,7 +572,8 @@ if options.mode == 'commit' and not options.pretend and not vcs: # Ensure that PORTDIR_OVERLAY contains the repository corresponding to $PWD. repoman_settings = portage.config(local_config=False, _eprefix=eprefix) repoman_settings['PORTDIR_OVERLAY'] = "%s %s" % \ - (repoman_settings.get('PORTDIR_OVERLAY', ''), portdir_overlay) + (repoman_settings.get('PORTDIR_OVERLAY', ''), + portage._shell_quote(portdir_overlay)) # We have to call the config constructor again so # that config.repositories is initialized correctly. repoman_settings = portage.config(local_config=False, _eprefix=eprefix, -- cgit v1.2.3-1-g7c22