This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=96b3a902eaeda2869d8346e6c4b32bc1af065f4e

commit 96b3a902eaeda2869d8346e6c4b32bc1af065f4e
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Jan 3 23:35:54 2021 +0100

    dpkg-m-h: Do not pass DPKG_ROOT prefixed pathmames to dpkg-realpath
    
    This case was missed when changing the semantics for dpkg-realpath.
    
    Fixes: commit 5f454c08c5e3190dce3256019b4adef93dc62f99
---
 scripts/dpkg-maintscript-helper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dpkg-maintscript-helper.sh 
b/scripts/dpkg-maintscript-helper.sh
index b649320f8..e597296c2 100755
--- a/scripts/dpkg-maintscript-helper.sh
+++ b/scripts/dpkg-maintscript-helper.sh
@@ -559,7 +559,7 @@ symlink_match()
   local SYMLINK_TARGET="$2"
 
   [ "$(readlink "$DPKG_ROOT$SYMLINK")" = "$SYMLINK_TARGET" ] || \
-  [ "$(dpkg-realpath "$DPKG_ROOT$SYMLINK")" = "$SYMLINK_TARGET" ]
+  [ "$(dpkg-realpath "$SYMLINK")" = "$SYMLINK_TARGET" ]
 }
 
 usage() {

-- 
Dpkg.Org's dpkg

Reply via email to