aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f25c014..5829161 100755
--- a/Makefile
+++ b/Makefile
@@ -288,7 +288,7 @@ $(ISO_PKGDIR)/APKINDEX.tar.gz: $(PROFILE).packages
sed -e 's/\#.*//' $< \
| xargs apk fetch $(APK_OPTS) \
--output $(ISO_PKGDIR) \
- --recursive
+ --recursive || { rm $(ISO_PKGDIR)/*.apk; exit 1; }
@apk index --description "$(ALPINE_NAME) $(ALPINE_RELEASE)" \
--rewrite-arch $(ALPINE_ARCH) -o $@ $(ISO_PKGDIR)/*.apk
@abuild-sign $@