aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit-repository2
1 files changed, 2 insertions, 0 deletions
diff --git a/init-repository b/init-repository
index 238de704..2902181b 100755
--- a/init-repository
+++ b/init-repository
@@ -506,6 +506,8 @@ sub git_install_hooks
return if (!-d 'qtrepotools/git-hooks');
+ # Force C locale as git submodule returns the localized string "Entering"
+ local $ENV{LC_ALL} = 'C';
chomp(my @modules = `git submodule foreach :`);
push @modules, "";
for my $module (@modules) {