Skip to content

Commit

Permalink
CI: Only check LANG or LC_ALL on non-Windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Nov 13, 2020
1 parent 0935765 commit 1e15689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cr8/run_crate.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def __init__(self,
self.env.setdefault('JAVA_HOME', java_home)
self.env.setdefault('LANG',
os.environ.get('LANG', os.environ.get('LC_ALL')))
if not self.env['LANG']:
if sys.platform != "win32" and not self.env['LANG']:
raise SystemExit('Your locale are not configured correctly. '
'Please set LANG or alternatively LC_ALL.')
self.monitor = OutputMonitor()
Expand Down

0 comments on commit 1e15689

Please sign in to comment.