removed find maxdepth
This commit is contained in:
parent
b5c9bed614
commit
bcf3816b96
@ -39,7 +39,7 @@ getlibs ()
|
|||||||
while read -r l; do
|
while read -r l; do
|
||||||
( IFS=:
|
( IFS=:
|
||||||
for p in $LIBPATH; do
|
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
|
||||||
)
|
)
|
||||||
done < "$tmplist"
|
done < "$tmplist"
|
||||||
@ -105,7 +105,7 @@ if [ -s "$WORKDIR"/deps ]; then
|
|||||||
while read -r d; do
|
while read -r d; do
|
||||||
( IFS=:
|
( IFS=:
|
||||||
for p in $PATH; do
|
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
|
||||||
)
|
)
|
||||||
done < "$tmplist"
|
done < "$tmplist"
|
||||||
|
Loading…
Reference in New Issue
Block a user