mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 18:58:35 +00:00

Also fixes a comment typo in docker_run.sh. (cherry-picked from commit c456d4b288ca6df59cca3663c10131f2c75e8574)
8 lines
192 B
Bash
Executable File
8 lines
192 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
if grep -qorHbm1 "^`echo -ne '\xef\xbb\xbf'`" po/ src/ data/ ; then
|
|
echo "Found UTF8 BOM(s)!"
|
|
grep -orHbm1 "^`echo -ne '\xef\xbb\xbf'`" po/ src/ data/
|
|
exit 1
|
|
fi
|