Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Make sure that 'make' output is in English to avoid parsing error #121

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kraft/util/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def make_list_vars(Makefile=None, origin=None):
A dict mapping keys to the corresponding variable.
"""

p = subprocess.getoutput("make -pnB -f %s" % Makefile)
p = subprocess.getoutput("LC_ALL=C make -pnB -f %s" % Makefile)

M = {}
re_var = re.compile(r"^#\s*Variables\b") # start of variable segment
Expand Down