[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 03/36] 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 <anthony.perard@xxxxxxxxxx> --- mgi-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mgi-common b/mgi-common index 6ce34162..98f795b1 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" -- Anthony PERARD
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |