Extend gettext conflict script to other conflict marker styles

This commit is contained in:
Rafael Epplée 2025-12-03 14:06:24 +01:00
parent cd1af5aff5
commit 4057b2d631
No known key found for this signature in database
GPG key ID: B4EFE6DC59FAE118

View file

@ -90,7 +90,7 @@ clean:
remove-gettext-conflicts:
#!/usr/bin/env bash
set -euo pipefail
find priv/gettext -type f -exec sed -i '/^<<<<<<< HEAD$/d; /^=======$/d; /^>>>>>>>/d' {} \;
find priv/gettext -type f -exec sed -i '/^<<<<<<</d; /^=======$/d; /^>>>>>>>/d; /^%%%%%%%/d; /^++++++/d; s/^+//' {} \;
# Production environment commands
# ================================