summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-26 17:01:45 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-26 17:01:45 +0000
commit071c587d173da01bd86d66d6d731d1981d5a53b9 (patch)
tree8b17840f2e4d450a7ed0a11450ad180fe05dec04 /eclass
parentnew version, mark 2.0.0 x86 (diff)
downloadhistorical-071c587d173da01bd86d66d6d731d1981d5a53b9.tar.gz
historical-071c587d173da01bd86d66d6d731d1981d5a53b9.tar.bz2
historical-071c587d173da01bd86d66d6d731d1981d5a53b9.zip
let edos2unix work on files with spaces in name
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 01e515d27618..494d173eab59 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.60 2003/09/23 01:26:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.61 2003/09/26 17:01:45 vapier Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -667,10 +667,10 @@ enewgroup() {
#
# edos2unix(file, <more files>...)
edos2unix() {
- for f in $@
+ for f in "$@"
do
- cp ${f} ${T}/edos2unix
- sed 's/\r$//' ${T}/edos2unix > ${f}
+ cp "${f}" ${T}/edos2unix
+ sed 's/\r$//' ${T}/edos2unix > "${f}"
done
}