From: Anthony PERARD Date: Wed, 7 Jun 2023 16:30:04 +0000 (+0000) Subject: mgi-common: Fix fetch_debian_package error message X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=efb32d67d1c52cfcdc6a8ac9a6a9c76a683cade9;p=osstest.git mgi-common: Fix fetch_debian_package error message $@ 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é --- 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"