removed find maxdepth

master
Alessandro Mauri 4 years ago
parent b5c9bed614
commit bcf3816b96
  1. 4
      posix/maketin

@ -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…
Cancel
Save