From cb81d878a2dfcfa6b113e0b2faf238d6210e0d57 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 7 Sep 2026 13:26:35 -0400 Subject: [PATCH] build(vim-patch): de10c87bed5a79ed80f1bb428a391faefdff13c9 is almost n/a Vim desktop files are N/A. "src/po/zh_CN.UTF-8.po" is applicable. --- scripts/vim-patch.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 171ba32e25..22b1fbaab8 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -966,9 +966,12 @@ is_na_patch() { '-I^\$\([_A-Z]+\)\.pot:' \ "$patch" -- "${file}") if test -n "$HUNKS"; then + # shellcheck disable=SC2016 HUNK_NUM_FINAL=$(echo "$HUNKS" | grep '^@@ .* @@' | sed 's/^@@ .* @@ //' | grep -cv \ -e '^\$([_A-Z]\+)\.pot:' \ - -e '^clean:') + -e '^clean:' \ + -e '^g\?vim\.desktop:' \ + ) test "$HUNK_NUM_FINAL" -ne 0 && return 1 fi ;;