repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 79dfd60a0ccb22561606d35e6732e18086b5092e:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 79dfd60a0ccb22561606d35e6732e18086b5092e
Author: Alexander Barton 
Date:   Sat Mar 11 01:48:50 2006 +0000

    Don't use "awk" directly, instead use $(AWK) variable.

diff --git a/src/ngircd/Makefile.am b/src/ngircd/Makefile.am
index 6f1ccd8846cadd7cd1b18eba799d764229281141..
index ..52bd1615bd4fc5b9400e43ec5f96c8ac7e25829f 100644
--- a/src/ngircd/Makefile.am
+++ b/src/ngircd/Makefile.am
@@ -8,7 +8,7 @@
 # (at your option) any later version.
 # Please read the file COPYING, README and AUTHORS for more information.
 #
-# $Id: Makefile.am,v 1.48 2005/08/25 08:40:15 alex Exp $
+# $Id: Makefile.am,v 1.49 2006/03/11 01:48:50 alex Exp $
 #

 AUTOMAKE_OPTIONS = ../portab/ansi2knr
@@ -63,7 +63,7 @@ lint:
 	 if [ $$? -ne 0 ]; then \
 	  waswarning=1; \
 	  echo; grep -v "^Command Line: " lint.out; echo; \
-	  w=$$( grep "code warning" lint.out | awk "{ print \$$4 }" ); \
+	  w=$$( grep "code warning" lint.out | $(AWK) "{ print \$$4 }" ); \
 	  [ "$$w" -gt 0 ] && warnings=`expr $$warnings + $$w`; \
 	  files=`expr $$files + 1`; \
 	 else \

-----END OF PAGE-----