diff options
Diffstat (limited to 'bin/emerge')
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index b749b0a8e..fc85d584e 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1,5 +1,5 @@ #!/usr/bin/python -# Copyright 2006-2012 Gentoo Foundation +# Copyright 2006-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function @@ -39,6 +39,9 @@ try: pym_path = osp.join(osp.dirname(osp.dirname( osp.realpath(__file__))), "pym") sys.path.insert(0, pym_path) + import portage + portage._internal_caller = True + portage._disable_legacy_globals() from _emerge.main import emerge_main if __name__ == "__main__": |