summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2009-03-31 07:59:19 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2009-03-31 07:59:19 +0000
commit5bf6b01817181b30728b53dcee5041a886155e7b (patch)
treeeafc1b577d71109c7ac8362225f8641505f71824 /sys-devel/gcc/files
parentUse QA_WX_LOAD rather than QA_EXECSTACK #264348 by Mr. Bones. (diff)
downloadhistorical-5bf6b01817181b30728b53dcee5041a886155e7b.tar.gz
historical-5bf6b01817181b30728b53dcee5041a886155e7b.tar.bz2
historical-5bf6b01817181b30728b53dcee5041a886155e7b.zip
Fix files/awk/fixlafiles.awk-no_gcc_la for POSIX shell compliant.
Output functions taken from files/awk/fixlafiles.awk. Authorized by vapier wrt #264309. Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/gcc/files')
-rw-r--r--sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
index fb4778c40b5b..855b23d44cb5 100644
--- a/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
+++ b/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la
@@ -1,27 +1,27 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la,v 1.2 2006/05/15 00:17:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/awk/fixlafiles.awk-no_gcc_la,v 1.3 2009/03/31 07:59:19 drizzt Exp $
#
# Helper functions
#
function printn(string) {
- system("echo -n \"" string "\"")
+ printf("%s", string)
}
function einfo(string) {
- system("echo -e \" \\e[32;01m*\\e[0m " string "\"")
+ printf(" \033[32;01m*\033[0m %s\n", string)
}
function einfon(string) {
- system("echo -ne \" \\e[32;01m*\\e[0m " string "\"")
+ printf(" \033[32;01m*\033[0m %s", string)
}
function ewarn(string) {
- system("echo -e \" \\e[33;01m*\\e[0m " string "\"")
+ printf(" \033[33;01m*\033[0m %s\n", string)
}
function ewarnn(string) {
- system("echo -ne \" \\e[33;01m*\\e[0m " string "\"")
+ printf(" \033[33;01m*\033[0m %s", string)
}
function eerror(string) {
- system("echo -e \" \\e[31;01m*\\e[0m " string "\"")
+ printf(" \033[31;01m*\033[0m %s\n", string)
}
#