apply_patches: Use globbing instead of file/sort.

This accomplishes the same thing as a `find ... | sort` but with the
added benefit of clarity and avoiding a call to a subshell.

Additionally drop the -s option from call to patch as it is not POSIX.
This commit is contained in:
Sean Bright
2023-07-06 13:51:32 -04:00
committed by George Joseph
parent 90069a94b0
commit 9ca24c9c2b
4 changed files with 31 additions and 60 deletions

View File

@@ -286,7 +286,6 @@ AC_PATH_PROG([PATCH], [patch], :)
AC_PATH_PROG([SED], [sed], :)
AC_PATH_PROG([NM], [nm], :)
AC_PATH_PROG([REALPATH], [realpath], :)
AC_PATH_PROG([SORT], [sort], :)
DOWNLOAD=":"