This is an automated email from the ASF dual-hosted git repository.
vongosling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new 249d1e6 fix(build):fix variable check error in build script
new 16bc68d Merge pull request #248 from ShannonDing/build
249d1e6 is described below
commit 249d1e647415fe313ba01d8ac6f4f8bbaa493d3e
Author: ShannonDing <[email protected]>
AuthorDate: Tue Feb 18 17:01:34 2020 +0800
fix(build):fix variable check error in build script
---
build.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.sh b/build.sh
index 3f552a8..20a2426 100755
--- a/build.sh
+++ b/build.sh
@@ -170,7 +170,7 @@ BuildLibevent() {
exit 1
fi
- libevent_dir=$(ls | grep libevent | grep .*[^zip^txt]$)
+ libevent_dir=$(ls | grep ^libevent | grep .*[^zip^txt]$)
cd ${libevent_dir}
if [ $? -ne 0 ]; then
exit 1
@@ -264,7 +264,7 @@ BuildBoost() {
wget http://sourceforge.net/projects/boost/files/boost/${fname_boost_down}
fi
tar -zxvf ${fname_boost} >unzipboost.txt 2>&1
- boost_dir=$(ls | grep boost | grep .*[^gz]$)
+ boost_dir=$(ls | grep ^boost | grep .*[^gz]$)
cd ${boost_dir}
if [ $? -ne 0 ]; then
exit 1