aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-03 01:24:42 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-03 01:24:42 +0200
commitbc5470dff262284a0dbe66a3850cf915e2a87034 (patch)
tree9a8bcc9f07e12b7a330ccce13caa01ec4258f0e1
parentd874d01e8e9a30f0073a6e559cbae07244dec7bf (diff)
Don’t run norm-scale.c
-rw-r--r--make.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/make.c b/make.c
index 47acf7d..953bca1 100644
--- a/make.c
+++ b/make.c
@@ -125,15 +125,17 @@ usage:
"-not", "(",
"-name", "scale",
"-or", "-name", "bool-props.py",
+ "-or", "-name", "scale-norm.c",
"-or", "-name", "wdth.c",
")",
"-exec", "{}", ";");
} else if (strcmp(argv[0], "test") == 0) {
strspushl(&cmd, "./test/run-tests");
} else {
- if (strcmp(nl_langinfo(CODESET), "UTF-8") == 0)
- err("invalid subcommand — ‘%s’", argv[0]);
- err("invalid subcommand -- `%s'", argv[0]);
+ err(strcmp(nl_langinfo(CODESET), "UTF-8") == 0
+ ? "invalid subcommand — ‘%s’"
+ : "invalid subcommand -- `%s'",
+ argv[0]);
}
cmdput(cmd);