From: Greg Kroah-Hartman Date: Mon, 24 Aug 2020 08:27:48 +0000 (+0200) Subject: scripts/convert_to_utf8: handle things from the "root" directory X-Git-Tag: v4.4.234~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0455d7cc1722fae97ce18708915780e5bfd0bdb4;p=thirdparty%2Fkernel%2Fstable-queue.git scripts/convert_to_utf8: handle things from the "root" directory It's a pain to run this in each queue directory, so just handle things from the root of the tree instead. Signed-off-by: Greg Kroah-Hartman --- diff --git a/scripts/convert_to_utf8 b/scripts/convert_to_utf8 index 03b1a9547c2..7a548d761da 100755 --- a/scripts/convert_to_utf8 +++ b/scripts/convert_to_utf8 @@ -1,6 +1,6 @@ #!/bin/bash -for file in $(ls *.patch); do +for file in $(find queue-* -type f | grep patch); do ISO=$(file "${file}" | grep ISO) if [ "${ISO}" != "" ] ; then echo "Converting ${file}"