FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 03-12-2012, 05:53 PM
 
Default makepkg: remove unused variable

From: Matthew Monaco <matthew.monaco@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
 
Old 03-12-2012, 11:24 PM
Allan McRae
 
Default 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"
 
Old 03-13-2012, 12:14 AM
Matthew Monaco
 
Default makepkg: remove unused variable

From: Matthew Monaco <matthew.monaco@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
 

Thread Tools




All times are GMT. The time now is 01:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org