[pacman-dev] [PATCH] makepkg: include all hash types in integlist
Dave Reisner
d at falconindy.com
Tue Sep 17 11:22:13 EDT 2013
On Tue, Sep 17, 2013 at 03:18:05PM +0000, Xyne wrote:
> ---
> scripts/makepkg.sh.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index d0951df..6b5a193 100644
> --- a/scripts/makepkg.sh.in
> +++ b/scripts/makepkg.sh.in
> @@ -1133,7 +1133,7 @@ generate_checksums() {
>
> local integlist
> if (( $# == 0 )); then
> - IFS=$'\n' read -ra integlist < <(get_integlist)
> + IFS=$'\n' integlist=($(get_integlist))
This isn't the right fix. It should be:
IFS=$'\n' read -rd '' -a integlist < <(get_integlist)
> else
> integlist=("$@")
> fi
> --
> 1.8.4
>
>
More information about the pacman-dev
mailing list