[pacman-dev] [PATCH 1/6] makepkg: remove unused variable

Allan McRae allan at archlinux.org
Mon Mar 12 20:24:59 EDT 2012


On 13/03/12 04:53, dgbaley27 at 0x01b.net wrote:
> From: Matthew Monaco <matthew.monaco at 0x01b.net>
> 
> ---
>  scripts/makepkg.sh.in |    1 -
>  1 file changed, 1 deletion(-)

Pulled to my patchqueue.

Thanks,
Allan


> diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
> index 89cd118..05a611d 100644
> --- a/scripts/makepkg.sh.in
> +++ b/scripts/makepkg.sh.in
> @@ -1714,7 +1714,6 @@ devel_check() {
>  		# calls to makepkg via fakeroot will explicitly pass the version
>  		# number to avoid having to determine the version number twice.
>  		# Also do a check to make sure we have the VCS tool available.
> -		oldpkgver=$pkgver
>  		if [[ -n ${_darcstrunk} && -n ${_darcsmod} ]] ; then
>  			if ! type -p darcs >/dev/null; then
>  				warning "$(gettext "Cannot find the %s binary required to determine latest %s revision.")" "darcs" "darcs"



More information about the pacman-dev mailing list