diff --git a/apply-sa-compile-utf8-patch.sh b/apply-sa-compile-utf8-patch.sh index 4115675..d20bd96 100755 --- a/apply-sa-compile-utf8-patch.sh +++ b/apply-sa-compile-utf8-patch.sh @@ -149,7 +149,7 @@ blank_line echononl "Apply patch \033[1m$(basename "$patch_file")\033[m to '$orig_file'.." patch --silent --forward --reject-file - -p0 "$orig_file" "$patch_file" > $log_file if [[ $? -gt 0 ]]; then - if $(grep -q "Skipping patch" "$log_file" 2> /dev/null) ; then + if $(grep -q -E "previously.* applied" "$log_file" 2> /dev/null) ; then echo_skipped else echo_failed