Merged revisions 106842 via svnmerge from
authorJason Parker <jparker@digium.com>
Fri, 7 Mar 2008 22:15:20 +0000 (22:15 +0000)
committerJason Parker <jparker@digium.com>
Fri, 7 Mar 2008 22:15:20 +0000 (22:15 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106842 | qwell | 2008-03-07 16:14:45 -0600 (Fri, 07 Mar 2008) | 5 lines

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/trunk@106843 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/editline/Makefile.in

index f17cfd4..47fbb8d 100644 (file)
@@ -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