mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Remove the remaining bashisms in the Makefile/mkpkgconfig
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@220099 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