diff options
Diffstat (limited to 'bin/regenworld')
-rwxr-xr-x | bin/regenworld | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/regenworld b/bin/regenworld index 0f7de9a2a..b43f5c7cf 100755 --- a/bin/regenworld +++ b/bin/regenworld @@ -7,7 +7,8 @@ import sys, os try: import portage except ImportError: - sys.path.insert(0, "/usr/lib/portage/pym") + from os import path as osp + sys.path.insert(0, osp.join(osp.dirname(osp.dirname(__file__)), "pym")) import portage import re |