Fix make-template.sh.

It needs the bash shell interpreter to run.
This commit is contained in:
Přemysl Eric Janouch 2011-06-10 14:52:53 +02:00
parent 2509f0af52
commit e1e9a6d319
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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");