Skip to content

Commit 0cbe1e8

Browse files
authored
Wrap git_locale in quotes
Without quoting, the lookup would fail for some characters
1 parent 614f314 commit 0cbe1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/init.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ setlocal enabledelayedexpansion
355355
if defined git_locale (
356356
REM %print_debug% init.bat "Env Var - git_locale=!git_locale!"
357357
if not defined LANG (
358-
for /F "delims=" %%F in ('!git_locale! -uU 2') do (
358+
for /F "delims=" %%F in ('"!git_locale!" -uU 2') do (
359359
set "LANG=%%F"
360360
)
361361
)

0 commit comments

Comments
 (0)