add consistent locale and lang

This commit is contained in:
Franjo Mindek
2025-11-14 11:46:27 +01:00
parent e928d11b4f
commit 080fdef575

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
#
# Diff Or Patch Executor # Set the locale and language to C for consistent behavior
# # See: https://unix.stackexchange.com/questions/87745/what-does-lc-all-c-do
# Allows you to easily create a diff between the two projects (base and derived), or to patch those diffs onto the base project to get the derived one. export LC_ALL=C
# Useful when derived project has only small changes on top of base project and you want to keep it in a dir in the same repo as main project. export LANG=C
# Determine the patch command to use based on OS # Determine the patch command to use based on OS
PATCH_CMD="patch" PATCH_CMD="patch"