summaryrefslogtreecommitdiff
path: root/build_tools/mkpkgconfig
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2009-09-24 14:44:08 +0000
committerSean Bright <sean@malleable.com>2009-09-24 14:44:08 +0000
commit9c23d0690bfbcd021dcf546db742d41a63d61f85 (patch)
treeb27a361caf92bcb4d8f896fc476ccb45436d6905 /build_tools/mkpkgconfig
parentb1f1666b376f60ed9ef2120252aa62c45454ab12 (diff)
Merged revisions 220099 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r220099 | seanbright | 2009-09-24 10:41:57 -0400 (Thu, 24 Sep 2009) | 2 lines Remove the remaining bashisms in the Makefile/mkpkgconfig ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@220100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools/mkpkgconfig')
-rwxr-xr-xbuild_tools/mkpkgconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/mkpkgconfig b/build_tools/mkpkgconfig
index 919c6e816..522afba87 100755
--- a/build_tools/mkpkgconfig
+++ b/build_tools/mkpkgconfig
@@ -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"