makepkg: remove unused variable

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Matthew Monaco 2012-03-12 12:53:10 -06:00 committed by Dan McGee
parent 4ca6590af5
commit 6310bb5fbe

View file

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