Re: [PATCH] kbuild: deb-pkg: fix building with bindeb-pkg

From: Andreas Schwab
Date: Sun Jul 14 2024 - 06:58:29 EST


On Jul 14 2024, Bert Karwatzki wrote:

> diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
> index 196b14e8ad47..5eb506573a4d 100755
> --- a/scripts/package/mkdebian
> +++ b/scripts/package/mkdebian
> @@ -135,7 +135,7 @@ else
> fi
> maintainer="${name} <${email}>"
>
> -if [ "$1" = --need-source ]; then
> +if [ $# -eq 1 ] [ "$1" = --need-source ]; then

[: too many arguments

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."