diff --git a/scripts/renamepatches b/scripts/renamepatches index 35b956a..81a4e44 100755 --- a/scripts/renamepatches +++ b/scripts/renamepatches @@ -37,7 +37,7 @@ git grep -iE '^(Git-commit:|No-fix:|\(cherry picked from commit)' $branch -- 'pa declare -A map source $temp -grep -E "^[[:space:]]*patches\.[a-z]+\/" < series.conf | while read patch ; do +grep -E "^[[:space:]]*patches\.[a-z]+/" < series.conf | while read patch ; do [ ! -f "$patch" ] && continue commit="$(awk -v IGNORECASE=1 '/^(Git-commit|No-fix):/ { print $2} /^\(cherry picked from commit/ { print $5}' $patch)"