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=4a43eff96c645c740acc1c2c9fc0aa50de780a30

commit 4a43eff96c645c740acc1c2c9fc0aa50de780a30
Author: Guillem Jover <[email protected]>
AuthorDate: Thu May 22 10:42:10 2025 +0200

    test: Use $* instead of $@ when assigning into a string
    
    Warned-by: shellcheck
---
 scripts/t/mock-bin/dpkg | 2 +-
 scripts/t/mock-bin/gcc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/t/mock-bin/dpkg b/scripts/t/mock-bin/dpkg
index fbfba35aa..39a12df1a 100755
--- a/scripts/t/mock-bin/dpkg
+++ b/scripts/t/mock-bin/dpkg
@@ -2,7 +2,7 @@
 
 set -e
 
-args="$@"
+args="$*"
 
 while [ $# -gt 0 ]; do
   opt="$1"
diff --git a/scripts/t/mock-bin/gcc b/scripts/t/mock-bin/gcc
index 0174f17bb..59dd649f9 100755
--- a/scripts/t/mock-bin/gcc
+++ b/scripts/t/mock-bin/gcc
@@ -2,7 +2,7 @@
 
 set -e
 
-args="$@"
+args="$*"
 
 while [ $# -gt 0 ]; do
   opt="$1"

-- 
Dpkg.Org's dpkg

Reply via email to