summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-07 02:54:49 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-07 02:54:49 +0000
commitd0569e60c775c28ee56926be02a31d8f12c70fd4 (patch)
treebd8295ab52d24b1c780af3f3a53f0281793fb1f6 /eclass
parentversion bump (bug #204642) (diff)
downloadhistorical-d0569e60c775c28ee56926be02a31d8f12c70fd4.tar.gz
historical-d0569e60c775c28ee56926be02a31d8f12c70fd4.tar.bz2
historical-d0569e60c775c28ee56926be02a31d8f12c70fd4.zip
quote $T usage #204666 by Santiago M. Mola
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass7
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 4dd691e80a31..b817d3ed44b1 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.68 2007/09/18 13:25:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.69 2008/01/07 02:54:49 vapier Exp $
#
# Maintainer: base-system@gentoo.org
#
@@ -200,11 +200,10 @@ autotools_run_tool() {
local STDERR_TARGET="${T}/$$.out"
local ris
- echo "***** $1 *****" > ${STDERR_TARGET%/*}/$1-${STDERR_TARGET##*/}
- echo >> ${STDERR_TARGET%/*}/$1-${STDERR_TARGET##*/}
+ printf "***** $1 *****\n\n" > "${STDERR_TARGET%/*}/$1-${STDERR_TARGET##*/}"
ebegin "Running $@"
- $@ >> ${STDERR_TARGET%/*}/$1-${STDERR_TARGET##*/} 2>&1
+ "$@" >> "${STDERR_TARGET%/*}/$1-${STDERR_TARGET##*/}" 2>&1
ris=$?
eend ${ris}