commit:     deff9dc6c20ef564b3fee110925d4f1a52a846d3
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 27 13:53:44 2017 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Apr 27 14:01:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deff9dc6

app-backup/burp: make sure oldver is local to pkg_postinst()

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-backup/burp/burp-2.0.54.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-backup/burp/burp-2.0.54.ebuild 
b/app-backup/burp/burp-2.0.54.ebuild
index cf7dee17673..694caae538a 100644
--- a/app-backup/burp/burp-2.0.54.ebuild
+++ b/app-backup/burp/burp-2.0.54.ebuild
@@ -94,6 +94,7 @@ pkg_postinst() {
 
        # According to PMS this can be a space-separated list of version
        # numbers, even though in practice it is typically just one.
+       local oldver
        for oldver in ${REPLACING_VERSIONS}; do
                if [[ $(get_major_version ${oldver}) -lt 2 ]]; then
                        ewarn "Starting with version 2.0.54 we no longer patch 
bedup to use"

Reply via email to