summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-02-10 21:43:35 +0000
committerZac Medico <zmedico@gentoo.org>2007-02-10 21:43:35 +0000
commitb6d91984f5c298e172bd4e71d82919000971521f (patch)
tree02d5f51e82399dd54dc86be8041559ce075f4871 /bin/md5check.py
parentfix broken imports (diff)
downloadportage-multirepo-b6d91984f5c298e172bd4e71d82919000971521f.tar.gz
portage-multirepo-b6d91984f5c298e172bd4e71d82919000971521f.tar.bz2
portage-multirepo-b6d91984f5c298e172bd4e71d82919000971521f.zip
Use os.path.realpath to handle symlinks properly.
svn path=/main/trunk/; revision=5945
Diffstat (limited to 'bin/md5check.py')
-rwxr-xr-xbin/md5check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/md5check.py b/bin/md5check.py
index d6e563f9..3525ea11 100755
--- a/bin/md5check.py
+++ b/bin/md5check.py
@@ -9,7 +9,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
import portage.util