summaryrefslogtreecommitdiffstats
path: root/bin/chkcontents
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chkcontents')
-rwxr-xr-xbin/chkcontents2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chkcontents b/bin/chkcontents
index bff77d0da..4523b6306 100755
--- a/bin/chkcontents
+++ b/bin/chkcontents
@@ -9,7 +9,7 @@
# the right files).
import string, os.path, os, sys
-sys.path = ["/usr/lib/portage/pym"]+sys.path
+sys.path.insert(0, os.environ.get("PORTAGE_PYM_PATH", "/usr/lib/portage/pym"))
import portage
def CONTENTScheck(path):