From efb32d67d1c52cfcdc6a8ac9a6a9c76a683cade9 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Wed, 7 Jun 2023 16:30:04 +0000 Subject: [PATCH] mgi-common: Fix fetch_debian_package error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit $@ expand to two or more words, but fail() only take one argument. So if there's more than one argument left, fail() only shows the first one, and don't event display "not found". Signed-off-by: Anthony PERARD Acked-by: Roger Pau Monné --- mgi-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mgi-common b/mgi-common index 6ce3416..98f795b 100644 --- a/mgi-common +++ b/mgi-common @@ -49,7 +49,7 @@ fetch_debian_package () { set -e if [ $rc -ne 0 ] || [ x$pkgfile = x ]; then - fail "package matching $@ not found"; + fail "package matching $* not found"; fi fetch "$site/$pkgfile" -- 2.39.5