summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-07 09:01:17 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-07 09:01:17 +0000
commita98b01e941f8538981029d3e604c27d27de9eabe (patch)
treecc72f63ea64c6e520c0d6755a7b3c73560344141 /bin/ebuild
parentFor bug #157393, fix up ebuild path normalization so that it's compatible wit... (diff)
downloadportage-multirepo-a98b01e941f8538981029d3e604c27d27de9eabe.tar.gz
portage-multirepo-a98b01e941f8538981029d3e604c27d27de9eabe.tar.bz2
portage-multirepo-a98b01e941f8538981029d3e604c27d27de9eabe.zip
Make sure the ebuild path is properly normalized.
svn path=/main/trunk/; revision=5202
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-xbin/ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild b/bin/ebuild
index 91cd94a4..55bb0fb8 100755
--- a/bin/ebuild
+++ b/bin/ebuild
@@ -48,6 +48,7 @@ if not os.path.isabs(ebuild):
os.path.realpath(os.environ["PWD"]) == mycwd:
mycwd = portage.normalize_path(os.environ["PWD"])
ebuild = os.path.join(mycwd, ebuild)
+ebuild = portage.normalize_path(ebuild)
# portdbapi uses the canonical path for the base of the portage tree, but
# subdirectories of the base can be built from symlinks (like crossdev does).
ebuild_portdir = os.path.realpath(os.path.dirname(os.path.dirname(ebuild)))