From 7a7435c2bbfb705def5a19ef207c6d0bfc79b0a7 Mon Sep 17 00:00:00 2001 From: Byron Wang Date: Tue, 14 Jul 2015 21:49:44 +0800 Subject: [PATCH 1/2] Fix libuv detection for centos --- build_deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_deps.sh b/build_deps.sh index 66eb5c5..34333de 100755 --- a/build_deps.sh +++ b/build_deps.sh @@ -11,7 +11,8 @@ case $OS in CentOS) echo "Linux, CentOS" sudo yum -y install automake cmake gcc-c++ git libtool openssl-devel wget - if echo "$(ldconfig -p | grep libuv)" + OUTPUT=`ldconfig -p | grep slibuv` + if [[ $(echo $OUTPUT) != "" ]] then echo "libuv has already been installed" else pushd /tmp From 5c4c0fcd072ff1a397e797015f93a378188b94a5 Mon Sep 17 00:00:00 2001 From: Byron Wang Date: Tue, 14 Jul 2015 21:53:03 +0800 Subject: [PATCH 2/2] Fix spelling libuv --- build_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_deps.sh b/build_deps.sh index 34333de..1f28273 100755 --- a/build_deps.sh +++ b/build_deps.sh @@ -11,7 +11,7 @@ case $OS in CentOS) echo "Linux, CentOS" sudo yum -y install automake cmake gcc-c++ git libtool openssl-devel wget - OUTPUT=`ldconfig -p | grep slibuv` + OUTPUT=`ldconfig -p | grep libuv` if [[ $(echo $OUTPUT) != "" ]] then echo "libuv has already been installed" else