commit c21434646965c73b3e6a461a40fb496a0c29abcd
parent f4bd236f64fc5ee335077e80056ccfaf834019f9
Author: aabacchus <ben@bvnf.space>
Date: Sun, 23 Apr 2023 14:17:24 +0100
b3 command not needed
Diffstat:
3 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/src/ckiss.h b/src/ckiss.h
@@ -23,7 +23,6 @@ struct env {
char **hooks;
char **kiss_path;
char **path;
- char *b3[5];
char *cac_dir;
char *compress;
char *elf;
diff --git a/src/test.c b/src/test.c
@@ -26,11 +26,6 @@ main(int argc, char **argv) {
printf("%s, ", e->path[i]);
printf("\n");
- printf("b3:\t");
- for (int i = 0; e->b3[i] != NULL; i++)
- printf("%s, ", e->b3[i]);
- printf("\n");
-
printf("%s\t%s\n", "compress", e->compress);
printf("%s\t%s\n", "elf", e->elf);
diff --git a/src/utils.c b/src/utils.c
@@ -274,17 +274,6 @@ setup_env(void) {
snprintf(e->pid, n, "%d", p);
}
- switch (available_cmd(e->path, "b3sum", NULL)) {
- case 0:
- e->b3[0] = "b3sum";
- e->b3[1] = "-l";
- e->b3[2] = "33";
- e->b3[4] = NULL;
- break;
- default:
- die("b3sum utility not found");
- }
-
t = getenv("KISS_COMPRESS");
e->compress = (t && *t != '\0') ? t : "gz";