makepkg: remove unused variable
On 13/03/12 04:53, dgbaley27@0x01b.net wrote:
> From: Matthew Monaco <matthew.monaco@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"
|