removed find maxdepth
This commit is contained in:
parent
b5c9bed614
commit
bcf3816b96
@ -39,7 +39,7 @@ getlibs ()
|
||||
while read -r l; do
|
||||
( IFS=:
|
||||
for p in $LIBPATH; do
|
||||
find -L "$p" -maxdepth 2 -name "$l" -exec cp -n {} "$WORKDIR"/lib/ \;
|
||||
find -L "$p" -name "$l" -exec cp -n {} "$WORKDIR"/lib/ \;
|
||||
done
|
||||
)
|
||||
done < "$tmplist"
|
||||
@ -105,7 +105,7 @@ if [ -s "$WORKDIR"/deps ]; then
|
||||
while read -r d; do
|
||||
( IFS=:
|
||||
for p in $PATH; do
|
||||
find -L "$p" -maxdepth 2 -name "$d" -exec cp -n {} "$WORKDIR"/bin/ \;
|
||||
find -L "$p" -name "$d" -exec cp -n {} "$WORKDIR"/bin/ \;
|
||||
done
|
||||
)
|
||||
done < "$tmplist"
|
||||
|
Loading…
Reference in New Issue
Block a user