[pacman-dev] [PATCH] makepkg.sh.in - fix remove_deps test for deps to be removed

Allan McRae allan at archlinux.org
Mon Feb 6 05:50:31 EST 2012


On 05/02/12 00:06, andrew.gregory.8 at gmail.com wrote:
> From: Andrew Gregory <andrew.gregory.8 at gmail.com>
> 
> ---
>  scripts/makepkg.sh.in |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index 8274255..cca0fac 100644
> --- a/scripts/makepkg.sh.in
> +++ b/scripts/makepkg.sh.in
> @@ -519,7 +519,7 @@ remove_deps() {
>  	local deplist
>  	deplist=($(grep -xvFf <(printf "%s\n" "${original_pkglist[@]}") \
>  			<(printf "%s\n" "${current_pkglist[@]}") || true))
> -	if [[ -n deplist ]]; then
> +	if [[ -z deplist ]]; then
>  		return
>  	fi
>  


Oops...

@Dan:  for maint please.



More information about the pacman-dev mailing list