summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-06-19 15:10:55 +0000
committerMichał Górny <mgorny@gentoo.org>2014-06-19 15:10:55 +0000
commit221d059f878bf558a5a73844d9fcf55f5092c928 (patch)
tree1b7b1e06db43516cef7a78325bd95284868dc42e /eclass/python-utils-r1.eclass
parentKeyworded on alpha, bug #468984 (diff)
downloadgentoo-2-221d059f878bf558a5a73844d9fcf55f5092c928.tar.gz
gentoo-2-221d059f878bf558a5a73844d9fcf55f5092c928.tar.bz2
gentoo-2-221d059f878bf558a5a73844d9fcf55f5092c928.zip
python_fix_shebang: properly unset local variables in loop iterations.
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 89d6ed21ec52..cff0429c2653 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.57 2014/06/19 08:08:10 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.58 2014/06/19 15:10:55 mgorny Exp $
# @ECLASS: python-utils-r1
# @MAINTAINER:
@@ -976,7 +976,7 @@ python_fix_shebang() {
while IFS= read -r -d '' f; do
local shebang i
- local error from
+ local error= from=
read shebang <"${f}"