Make sure the ebuild path is properly normalized.
authorZac Medico <zmedico@gentoo.org>
Thu, 7 Dec 2006 09:01:17 +0000 (09:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 7 Dec 2006 09:01:17 +0000 (09:01 -0000)
svn path=/main/trunk/; revision=5202

bin/ebuild

index 91cd94a45c0b0f99c9e5f5dcdd0e208d23d3719c..55bb0fb81d70c969da3f19e68ce232e6f1f6f669 100755 (executable)
@@ -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)))