From 6f2e5f15be9596bcddd223712fb309f77697d2dc Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Fri, 16 Mar 2007 03:13:03 +0000 Subject: [PATCH] Fix equery check to not fail for symlinks prefixed with ./ (Bug #170702) svn path=/; revision=358 --- trunk/ChangeLog | 4 ++++ trunk/src/equery/equery | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- 2.26.2