Skip to content

Commit 05a9779

Browse files
committed
Fix typo
1 parent 98519e1 commit 05a9779

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Tools/build/generate_getbuildinfo.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ def get_compiler():
141141
if not CC:
142142
exit_error(f"ERROR: Unable to locate CC in Makefile")
143143

144-
cc = shlex.split(cc)
145-
output = run_command([*cc, '--version'])
144+
cmd = shlex.split(CC)
145+
output = run_command([*cmd, '--version'])
146146
output = output.splitlines()[0]
147147
return f'[{output}]'
148148

0 commit comments

Comments
 (0)