From: Zac Medico Date: Thu, 7 Dec 2006 09:01:17 +0000 (-0000) Subject: Make sure the ebuild path is properly normalized. X-Git-Tag: v2.1.2~378 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a98b01e941f8538981029d3e604c27d27de9eabe;p=portage.git Make sure the ebuild path is properly normalized. svn path=/main/trunk/; revision=5202 --- diff --git a/bin/ebuild b/bin/ebuild index 91cd94a45..55bb0fb81 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)))