diff options
Diffstat (limited to 'src/build.c')
| -rw-r--r-- | src/build.c | 6 |
1 files changed, 5 insertions, 1 deletions
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"); |
