]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
scripts/convert_to_utf8: handle things from the "root" directory
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Aug 2020 08:27:48 +0000 (10:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Aug 2020 08:27:48 +0000 (10:27 +0200)
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 <gregkh@linuxfoundation.org>
scripts/convert_to_utf8

index 03b1a9547c23662fcb21cf99b5aa0f23af2a3023..7a548d761da437c16b6033c274e28298ffaa4a6a 100755 (executable)
@@ -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}"