summaryrefslogtreecommitdiffstats
path: root/bin/env-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/env-update')
-rwxr-xr-xbin/env-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/env-update b/bin/env-update
index 286996341..1026b1fc1 100755
--- a/bin/env-update
+++ b/bin/env-update
@@ -4,7 +4,7 @@
# $Id$
import os,sys
-sys.path = ["/usr/lib/portage/pym"]+sys.path
+sys.path.insert(0, os.environ.get("PORTAGE_PYM_PATH", "/usr/lib/portage/pym"))
def usage(status):
print "Usage: env-update [--no-ldconfig]"