Selaa lähdekoodia

Merge pull request #937 from llhe/support_find_bin_with_symlink

Support symlink for config find_bin
Ge Jun 4 vuotta sitten
vanhempi
commit
90b591e13d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      config_brpc.sh

+ 1 - 1
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