From: Jason Parker Date: Fri, 7 Mar 2008 22:14:45 +0000 (+0000) Subject: Fix hardcoded grep in editline, were GNU grep is required. X-Git-Tag: 1.4.19-rc2~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06ba2df1832d8063dd17a8c6eb4bbfa17cda86c1;p=thirdparty%2Fasterisk.git Fix hardcoded grep in editline, were GNU grep is required. (closes issue #12124) Reported by: dmartin git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@106842 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/editline/Makefile.in b/main/editline/Makefile.in index f17cfd43a7..47fbb8d09e 100644 --- a/main/editline/Makefile.in +++ b/main/editline/Makefile.in @@ -4,7 +4,7 @@ OSTYPE=$(shell uname -s) define cyg_subst_sys - if uname -s | grep -qi cygwin; then \ + if uname -s | ${GREP} -qi cygwin; then \ cat $@ | sed -e s/"sys\.h"/"config.h"/g > $@.copy; \ mv --force $@.copy $@; \ fi