diff options
author | 2005-05-14 17:42:00 +0000 | |
---|---|---|
committer | 2005-05-14 17:42:00 +0000 | |
commit | 52754c88658af380b51d58e6bf4ae767845e3b5c (patch) | |
tree | 3d245c3e3310441c3659d7b9ddb6c12ab018e56d | |
parent | wrapper updates #71132 (diff) | |
download | autotools-wrappers-52754c88658af380b51d58e6bf4ae767845e3b5c.tar.gz autotools-wrappers-52754c88658af380b51d58e6bf4ae767845e3b5c.tar.bz2 autotools-wrappers-52754c88658af380b51d58e6bf4ae767845e3b5c.zip |
use gawk, not awk #92582
Package-Manager: portage-2.0.51.21-r1
-rwxr-xr-x | am-wrapper.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/am-wrapper.sh b/am-wrapper.sh index 54935e0..b21e0e0 100755 --- a/am-wrapper.sh +++ b/am-wrapper.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-1.sh,v 1.3 2004/11/15 00:57:43 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-1.sh,v 1.4 2005/05/14 17:42:00 vapier Exp $ # Based on the am-wrapper.pl script provided by MandrakeSoft # Rewritten in bash by Gregorio Guidi @@ -71,7 +71,7 @@ done do_awk() { local file=$1 ; shift local arg=$1 ; shift - echo $(awk "{ if (match(\$0, \"$*\", res)) { print res[${arg}]; exit } }" ${file}) + echo $(gawk "{ if (match(\$0, \"$*\", res)) { print res[${arg}]; exit } }" ${file}) } # |