From: fuzzyray Date: Fri, 16 Mar 2007 03:13:03 +0000 (-0000) Subject: Fix equery check to not fail for symlinks prefixed with ./ (Bug #170702) X-Git-Tag: gentoolkit-0.2.4.3~155 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f2e5f15be9596bcddd223712fb309f77697d2dc;p=gentoolkit.git Fix equery check to not fail for symlinks prefixed with ./ (Bug #170702) svn path=/; revision=358 --- diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 55bfe26..33dff4f 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,7 @@ +2007-03-15 Paul Varner + * equery: Fix equery check to not fail for symlinks prefixed with ./ + (Bug #170702) + 2007-03-14 Paul Varner * equery: Trim trailing slash from query for equery belongs command (Bug #170981) diff --git a/trunk/src/equery/equery b/trunk/src/equery/equery index c6ab4c9..f141fd2 100755 --- a/trunk/src/equery/equery +++ b/trunk/src/equery/equery @@ -951,7 +951,8 @@ class CmdCheckIntegrity(Command): elif type == "sym": # FIXME: nastry strippery; portage should have this fixed! t = files[file][2] - target = os.path.normpath(t.strip()) + # target = os.path.normpath(t.strip()) + target = t.strip() if not os.path.islink(file): raise CheckException(file + " exists, but is not a symlink") tgt = os.readlink(file)