summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-11 00:03:14 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-11 00:03:14 +0000
commite0671c2341090a89896abf8130cc33e4db2170e9 (patch)
tree221ec5615fce71a0f22c50f576825ceb22ba8fe5 /eclass/toolchain.eclass
parentslot the libtool hack files (diff)
downloadhistorical-e0671c2341090a89896abf8130cc33e4db2170e9.tar.gz
historical-e0671c2341090a89896abf8130cc33e4db2170e9.tar.bz2
historical-e0671c2341090a89896abf8130cc33e4db2170e9.zip
whitespace/quoting touchups
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 8db56e33f706..d353e3f2602a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.289 2006/06/11 00:02:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.290 2006/06/11 00:03:14 vapier Exp $
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GPL-2 LGPL-2.1"
@@ -519,7 +519,7 @@ libc_has_ssp() {
# Travis Tilley <lv@gentoo.org> (26 Oct 2004)
#
gcc-lang-supported() {
- grep ^language=\"${1}\" ${S}/gcc/*/config-lang.in > /dev/null && return 0
+ grep ^language=\"${1}\" "${S}"/gcc/*/config-lang.in > /dev/null && return 0
return 1
}
@@ -2152,15 +2152,15 @@ gcc_version_patch() {
[[ -z $1 ]] && die "no arguments to gcc_version_patch"
if grep -qs VERSUFFIX "${S}"/gcc/version.c ; then
- sed -i -e "s~VERSUFFIX \"\"~VERSUFFIX \" ($2)\"~" "${S}"/gcc/version.c \
- || die "failed to update VERSUFFIX with Gentoo branding"
+ sed -i -e "s~VERSUFFIX \"\"~VERSUFFIX \" ($2)\"~" \
+ "${S}"/gcc/version.c || die "failed to update VERSUFFIX with Gentoo branding"
else
version_string="$1 ($2)"
sed -i -e "s~\(const char version_string\[\] = \"\).*\(\".*\)~\1$version_string\2~" \
- "${S}"/gcc/version.c || die "failed to update version.c with Gentoo branding."
+ "${S}"/gcc/version.c || die "failed to update version.c with Gentoo branding."
fi
- sed -i -e 's~gcc\.gnu\.org\/bugs\.html~bugs\.gentoo\.org\/~'\
- "${S}"/gcc/version.c || die "Failed to change the bug URL"
+ sed -i -e 's~gcc\.gnu\.org\/bugs\.html~bugs\.gentoo\.org\/~' \
+ "${S}"/gcc/version.c || die "Failed to change the bug URL"
}
# The purpose of this DISGUSTING gcc multilib hack is to allow 64bit libs