diff options
Diffstat (limited to 'bin/pkgname')
-rwxr-xr-x | bin/pkgname | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pkgname b/bin/pkgname index e842f38fb..4c0dd6c94 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]) |