summaryrefslogtreecommitdiff
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 3d1ab2ca..fe108de0 100755
--- a/bin/chkcontents
+++ b/bin/chkcontents
@@ -13,7 +13,7 @@ try:
import portage
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
def CONTENTScheck(path):