summaryrefslogtreecommitdiffstats
path: root/bin/clean_locks
diff options
context:
space:
mode:
Diffstat (limited to 'bin/clean_locks')
-rwxr-xr-xbin/clean_locks2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/clean_locks b/bin/clean_locks
index 0ecb62424..9c7e110ce 100755
--- a/bin/clean_locks
+++ b/bin/clean_locks
@@ -4,7 +4,7 @@
# $Id$
import os,sys,errno
-sys.path = ["/usr/lib/portage/pym"]+sys.path
+sys.path.insert(0, os.environ.get("PORTAGE_PYM_PATH", "/usr/lib/portage/pym"))
import portage_locks