utils/name_substitution: ignore diff status code

This commit is contained in:
jj
2025-04-08 19:15:03 +00:00
parent a362f3e435
commit 57f868770f

View File

@@ -52,7 +52,7 @@ do_sub() {
perl -pi -e "$regex" "$file_path.new"
done
diff -Naur "$file_path" "$file_path.new"
diff -Naur "$file_path" "$file_path.new" || true
mv "$file_path.new" "$file_path"
done <<< "$FILE_LIST"
}