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=2442069a11d1b0f2c70b257ad06286c18fd1cf27

commit 2442069a11d1b0f2c70b257ad06286c18fd1cf27
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Jan 5 00:43:00 2021 +0100

    dpkg-realpath: Make 'link includes root prefix' error more verbose
    
    Print both pathnames so that it is easier to diagnose what went wrong.
---
 scripts/dpkg-realpath.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dpkg-realpath.sh b/scripts/dpkg-realpath.sh
index 2f4396f00..8f18b37aa 100755
--- a/scripts/dpkg-realpath.sh
+++ b/scripts/dpkg-realpath.sh
@@ -169,7 +169,7 @@ fi
 
 [ -n "$pathname" ] || badusage "missing pathname"
 if [ "${pathname#"$DPKG_ROOT"}" != "$pathname" ]; then
-  error "link includes root prefix"
+  error "link '$pathname' includes root prefix '$DPKG_ROOT'"
 fi
 
 canonicalize "$pathname"

-- 
Dpkg.Org's dpkg

Reply via email to