summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Monaco <matthew.monaco@0x01b.net>2012-03-12 12:53:10 -0600
committerDan McGee <dan@archlinux.org>2012-04-07 11:25:34 -0500
commit6310bb5fbe841c4957dddce6a8ee97f2c6a10fc5 (patch)
treef7ba97755d98c2e9e32f8576d5cc4c9ab72de115
parent4ca6590af58177964910588a6d0406f0d009bd0e (diff)
downloadpacman-6310bb5fbe841c4957dddce6a8ee97f2c6a10fc5.tar.xz
makepkg: remove unused variable
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--scripts/makepkg.sh.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 93c94e1c..4b67414d 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1721,7 +1721,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"