diff --git a/posix/maketin b/posix/maketin index 50da448..12bf726 100755 --- a/posix/maketin +++ b/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"