aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-14 17:42:00 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-14 17:42:00 +0000
commit52754c88658af380b51d58e6bf4ae767845e3b5c (patch)
tree3d245c3e3310441c3659d7b9ddb6c12ab018e56d /am-wrapper.sh
parentwrapper updates #71132 (diff)
downloadautotools-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
Diffstat (limited to 'am-wrapper.sh')
-rwxr-xr-xam-wrapper.sh4
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})
}
#