You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by ja...@apache.org on 2019/10/12 06:42:05 UTC
[incubator-brpc] branch master updated: Support symlink for config
find_bin
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 <ll...@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-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org