prune_libtool_files: properly reset variables for following loop iterations.
authorMichał Górny <mgorny@gentoo.org>
Wed, 14 Jan 2015 22:50:02 +0000 (22:50 +0000)
committerMichał Górny <mgorny@gentoo.org>
Wed, 14 Jan 2015 22:50:02 +0000 (22:50 +0000)
eclass/ChangeLog
eclass/eutils.eclass

index 28d976d9126d4b6135f1370ae83a17b4bca5da39..97f595197a83f74d3a03e6bd64672f9a9f034907 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1510 2015/01/13 21:35:29 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1511 2015/01/14 22:50:01 mgorny Exp $
+
+  14 Jan 2015; Michał Górny <mgorny@gentoo.org> eutils.eclass:
+  prune_libtool_files: properly reset variables for following loop iterations.
 
   13 Jan 2015; Michał Górny <mgorny@gentoo.org> python-r1.eclass:
   Deprecate python_export_best() verbosely.
index 4554b050bf880c93de78c5f8dfdc4a4eeff24b8d..2214945b9b86f6ef0b3df4db9e5e33df056109df 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.441 2014/12/30 07:24:52 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.442 2015/01/14 22:50:02 mgorny Exp $
 
 # @ECLASS: eutils.eclass
 # @MAINTAINER:
@@ -1578,7 +1578,7 @@ prune_libtool_files() {
                fi
 
                [[ ${f} != ${archivefile} ]] || die 'regex sanity check failed'
-               local reason pkgconfig_scanned
+               local reason= pkgconfig_scanned=
                local snotlink=$(sed -n -e 's:^shouldnotlink=::p' "${f}")
 
                if [[ ${snotlink} == yes ]]; then