summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkgname')
-rwxr-xr-xbin/pkgname2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkgname b/bin/pkgname
index e842f38f..4c0dd6c9 100755
--- a/bin/pkgname
+++ b/bin/pkgname
@@ -8,7 +8,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
a=portage.pkgsplit(sys.argv[1])