summaryrefslogtreecommitdiff
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 cddb5261..89473bd8 100755
--- a/bin/clean_locks
+++ b/bin/clean_locks
@@ -8,7 +8,7 @@ try:
import portage.locks
except ImportError:
from os import path as osp
- sys.path.insert(0, osp.join(osp.dirname(osp.dirname(__file__)), "pym"))
+ sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym"))
import portage.locks
if not sys.argv[1:] or "--help" in sys.argv or "-h" in sys.argv: