summaryrefslogtreecommitdiffstats
path: root/bin/md5check.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/md5check.py')
-rwxr-xr-xbin/md5check.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/md5check.py b/bin/md5check.py
index 4cc6d86f9..d6e563f9f 100755
--- a/bin/md5check.py
+++ b/bin/md5check.py
@@ -8,7 +8,8 @@ os.environ["FEATURES"]="mirror cvs"
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 portage.util