Commit 5efee3d7 authored by intrigeri's avatar intrigeri
Browse files

normalize_pot(): convert to extended regexp and avoid extreme quoting caused...

normalize_pot(): convert to extended regexp and avoid extreme quoting caused by shell double quotes (refs: #12641).
parent 62002419
......@@ -29,7 +29,7 @@ LOCALE_BASEDIR=config/chroot_local-includes/usr/share/locale
### Functions
normalize_pot () {
sed -i "s@^\"Content-Type: text/plain\; charset=CHARSET\\\n\"@\"Content-Type: text/plain\; charset=UTF-8\\\n\"@" "${@}"
sed --regexp-extended -i 's@^"Content-Type: text/plain; charset=CHARSET\\n"@"Content-Type: text/plain; charset=UTF-8\\n"@' "${@}"
}
prog_potfile () {
......
Supports Markdown
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