Skip to content

Commit 8acab6f

Browse files
committed
Fix #11989: Remove dependency on find
1 parent b7d2a12 commit 8acab6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/bin/common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fi
133133
# *-------------------------------------------------*/
134134

135135
find_lib () {
136-
local lib=$(find $PROG_HOME/lib/ -name "$1")
136+
local lib=$(ls $PROG_HOME/lib/$1)
137137
if [ -n "$CYGPATHCMD" ]; then
138138
"$CYGPATHCMD" -am $lib
139139
elif [[ $mingw || $msys ]]; then

0 commit comments

Comments
 (0)