aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-24 14:49:32 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-24 14:49:32 +0000
commit506930f4f06458d90ff0d88f2dc69c4a429cd2cc (patch)
tree866f4eb9541284ff2c2915b32d1e62d4ef0ef541 /build_tools
parent06edb250c6baf021deaa269f37b1f2e731389c12 (diff)
Merged revisions 220100 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r220100 | seanbright | 2009-09-24 10:44:08 -0400 (Thu, 24 Sep 2009) | 9 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.0@220101 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-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"