From 20e6e67a71159e44392ad11dfd135a7372d77648 Mon Sep 17 00:00:00 2001 From: Michal Koutný Date: Feb 22 2023 13:08:23 +0000 Subject: scripts/renamepatches: Fix grep warning grep: warning: stray \ before / --- 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)"