Skip to content
Snippets Groups Projects
Commit 57a6da99 authored by Andy Yates's avatar Andy Yates
Browse files

merging in new code for LANG types

parent a1bd99e5
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ scan_and_replace() {
else
echo "Replacing email in $file"
if [ "$(uname)" = "Darwin" ]; then
LANG='' sed -i '' -e "s/$search/$replacement/g" $file
LC_CTYPE=C LANG=C sed -i '' -e "s/$search/$replacement/g" $file
else
sed --in-place -e "s/$search/$replacement/g" $file
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment