summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-08-03 18:31:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-08-03 18:31:41 +0000
commit2f1a8a5ddc55e2dfc3374d123ab1c9f07ebcb663 (patch)
tree1848eb0a5d8abaa23529d11815c2b2a3ab4eb756 /eclass
parentBackport fix for networkd crash. (diff)
downloadhistorical-2f1a8a5ddc55e2dfc3374d123ab1c9f07ebcb663.tar.gz
historical-2f1a8a5ddc55e2dfc3374d123ab1c9f07ebcb663.tar.bz2
historical-2f1a8a5ddc55e2dfc3374d123ab1c9f07ebcb663.zip
Add quotes to support reading from files with spaces in the filename.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/python-utils-r1.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 4b8b4ef56bd8..cfdb8dc7303f 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -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.1743 2015/08/03 14:03:00 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1744 2015/08/03 18:31:41 mr_bones_ Exp $
+
+ 03 Aug 2015; Michael Sterrett <mr_bones_@gentoo.org> python-utils-r1.eclass:
+ Add quotes to support reading from files with spaces in the filename.
03 Aug 2015; Michael Palimaka <kensington@gentoo.org> kde5.eclass:
Do not compress handbooks.
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 000c27f1a249..cf8838071e83 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2015 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.88 2015/07/27 16:35:19 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.89 2015/08/03 18:31:41 mr_bones_ Exp $
# @ECLASS: python-utils-r1
# @MAINTAINER:
@@ -1005,7 +1005,7 @@ python_fix_shebang() {
local shebang i
local error= from=
- IFS= read -r shebang <${f}
+ IFS= read -r shebang <"${f}"
# First, check if it's shebang at all...
if [[ ${shebang} == '#!'* ]]; then