Browse Source

removed find maxdepth

master
Alessandro Mauri 11 months ago
parent
commit
bcf3816b96
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      posix/maketin

+ 2
- 2
posix/maketin View File

@ -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