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

Matthew Monaco dgbaley27 at 0x01b.net
Mon Mar 12 21:14:18 EDT 2012


From: Matthew Monaco <matthew.monaco at 0x01b.net>

---
 scripts/makepkg.sh.in |    1 -
 1 file changed, 1 deletion(-)

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"
-- 
1.7.9.3



More information about the pacman-dev mailing list