summaryrefslogtreecommitdiffstats
path: root/bin/emerge
blob: 48f327170acd7c5ec9ebad7cbaeca30953ca7dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/python
# Copyright Gentoo Foundation 2006
# Portage Emerge bits
# $Id$

try:
	from emerge import *
except ImportError:
	from os import path as osp
	import sys
	sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym"))
	from emerge import *

if __name__ == "__main__":
	import sys
	sys.exit(emerge_main())