mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
Merged revisions 80330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines Fix a few build issues in Solaris (and likely others). Use GREP and ID variables from autoconf. Reported to me in #asterisk-dev I forgot who reported this - sorry. :( ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -14,7 +14,7 @@ if [ ! -d $PPATH ]; then
|
||||
fi
|
||||
|
||||
#Solaris (and some others) don't have sed -r. perl -p is equivalent
|
||||
if [[ `echo "xxx" | sed -r 's/x/y/g' 2>/dev/null | grep -c "yyy"` != 0 ]]; then
|
||||
if [[ `echo "xxx" | sed -r 's/x/y/g' 2>/dev/null | ${GREP} -c "yyy"` != 0 ]]; then
|
||||
EXTREGEX="sed -r -e"
|
||||
else
|
||||
EXTREGEX="perl -pe"
|
||||
|
Reference in New Issue
Block a user