This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=2203eff73087af1c03665fc19e7f65c4ac890026 commit 2203eff73087af1c03665fc19e7f65c4ac890026 Author: Guillem Jover <guil...@debian.org> AuthorDate: Sat Nov 20 19:32:12 2021 +0100 dpkg-m-h: Quote variable inside ${} to avoid pattern match Warned-by: shellcheck --- 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 57da90c10..cff3e87eb 100755 --- a/scripts/dpkg-maintscript-helper.sh +++ b/scripts/dpkg-maintscript-helper.sh @@ -541,7 +541,7 @@ ensure_package_owns_file() { internal_pkg_must_own_file() { local PACKAGE="$1" - local FILE="${2##$DPKG_ROOT}" + local FILE="${2##"$DPKG_ROOT"}" if [ "$DPKG_MAINTSCRIPT_HELPER_INTERNAL_API" != "$version" ]; then error "internal API used by external command" -- Dpkg.Org's dpkg