Fix make-template.sh.
It needs the bash shell interpreter to run.
This commit is contained in:
parent
2509f0af52
commit
e1e9a6d319
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# This script makes a translation template
|
# This script makes a translation template
|
||||||
# The reason for this not being inside CMakeLists.txt
|
# The reason for this not being inside CMakeLists.txt
|
||||||
# is that the translator should not need to run
|
# is that the translator should not need to run
|
||||||
|
|
|
@ -107,7 +107,7 @@ main (int argc, char *argv[])
|
||||||
textdomain (GETTEXT_DOMAIN);
|
textdomain (GETTEXT_DOMAIN);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
/* Don't be limited by the ANSI codepage. */
|
/* Don't be unneccessarily limited by the system ANSI codepage. */
|
||||||
argv_overriden = get_utf8_args (&argc, &argv);
|
argv_overriden = get_utf8_args (&argc, &argv);
|
||||||
if (argv_overriden)
|
if (argv_overriden)
|
||||||
_putenv ("CHARSET=UTF-8");
|
_putenv ("CHARSET=UTF-8");
|
||||||
|
|
Loading…
Reference in New Issue