From 3b4f3014683a439dd7f0d1e663743cf0641a05c1 Mon Sep 17 00:00:00 2001 From: forever2k38 Date: Mon, 7 Sep 2026 15:53:21 +0200 Subject: hash verification --- src/build.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/build.c') diff --git a/src/build.c b/src/build.c index 243f3bc..9463136 100644 --- a/src/build.c +++ b/src/build.c @@ -39,7 +39,11 @@ int pow_package_build(pow_package *pkg) { printf("building package %s\n", pkg->name); - pow_download_source(pkg->sources[0], tmp_path); + if (pow_download_source(pkg->sources[0], tmp_path)) { + printf("failed to get sources\n"); + + return 1; + } lua_getfield(pkg->L, -1, "build"); -- cgit v1.3