bytebeat_compiler.py: fix grammar
This commit is contained in:
parent
ee404d1ad2
commit
1e4f9ac26f
@ -176,7 +176,7 @@ if __name__ == "__main__":
|
|||||||
bytebeat_contents = read_from_file_or_stdin(args.file).strip()
|
bytebeat_contents = read_from_file_or_stdin(args.file).strip()
|
||||||
|
|
||||||
if not bytebeat_contents:
|
if not bytebeat_contents:
|
||||||
raise SystemExit("No valid contents")
|
raise SystemExit("Empty file or STDIN")
|
||||||
|
|
||||||
# - Compilation
|
# - Compilation
|
||||||
makedirs(PATHS["bin_dir"], exist_ok=True)
|
makedirs(PATHS["bin_dir"], exist_ok=True)
|
||||||
@ -260,7 +260,7 @@ if __name__ == "__main__":
|
|||||||
}, read_file(PATHS["template"]), args.show_substituted_values))
|
}, read_file(PATHS["template"]), args.show_substituted_values))
|
||||||
|
|
||||||
if is_cmd_unavailable(CC):
|
if is_cmd_unavailable(CC):
|
||||||
print(f"Compiler {CC} not available, searching:")
|
print(f"Compiler {CC} is not available, searching:")
|
||||||
|
|
||||||
still_unavailable = True
|
still_unavailable = True
|
||||||
for compiler in CC_SEARCH_LIST:
|
for compiler in CC_SEARCH_LIST:
|
||||||
@ -275,7 +275,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
if still_unavailable:
|
if still_unavailable:
|
||||||
raise SystemExit("Could not find an available compiler. Please "
|
raise SystemExit("Could not find an available compiler. Please "
|
||||||
"specify it by setting\nenvironmental variable "
|
"specify it by setting\nan environmental variable "
|
||||||
"CC.")
|
"CC.")
|
||||||
|
|
||||||
# Compile
|
# Compile
|
||||||
|
Loading…
Reference in New Issue
Block a user