This is an automated email from the ASF dual-hosted git repository.

jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 926b7c3  Support symlink for config find_bin
     new 90b591e  Merge pull request #937 from 
llhe/support_find_bin_with_symlink
926b7c3 is described below

commit 926b7c3ba41203f73cbe403ebf85a0f098cfa27c
Author: Liangliang He <lliang...@gmail.com>
AuthorDate: Tue Oct 8 10:52:26 2019 +0800

    Support symlink for config find_bin
---
 config_brpc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config_brpc.sh b/config_brpc.sh
index f53d2aa..52bad4f 100755
--- a/config_brpc.sh
+++ b/config_brpc.sh
@@ -117,7 +117,7 @@ find_dir_of_lib_or_die() {
 }
 
 find_bin() {
-    TARGET_BIN=$(find ${LIBS_IN} -type f -name "$1" 2>/dev/null | head -n1)
+    TARGET_BIN=$(find -L ${LIBS_IN} -type f -name "$1" 2>/dev/null | head -n1)
     if [ ! -z "$TARGET_BIN" ]; then
         $ECHO $TARGET_BIN
     else


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to