[wiki] [sites] build-page: enforce no HTML rule || Hiltjo Posthuma
commit 03d30b8b290ee3e3015f8814f31fbff0fc04fabb
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sat Jan 5 20:21:00 2019 +0100
build-page: enforce no HTML rule
diff --git a/build-page.c b/build-page.c
index 626e17ba..1c3c40e6 100644
--- a/build-page.c
+++ b/build-page.c
_AT_@ -12,7 +12,7 @@
#include <string.h>
#include <unistd.h>
-#define CONVERTER "smu"
+#define CONVERTER "smu","-n"
#define LEN(x) (sizeof(x) / sizeof *(x))
#define TITLE_MAX 1024
#define TITLE_DEFAULT "suckless.org"
_AT_@ -290,7 +290,7 @@ print_content(char *domain, char *page)
if (stat_isfile(index)) {
fflush(stdout);
if (spawn_wait(argv) == -1)
- die_perror("spawn: %s %s/%s/%s", CONVERTER, domain, page, index);
+ die_perror("spawn: %s/%s/%s", domain, page, index);
}
puts("</div>
");
}
Received on Sat Jan 05 2019 - 20:21:10 CET
This archive was generated by hypermail 2.3.0
: Sat Jan 05 2019 - 20:24:28 CET