diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-01 09:34:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-12-01 09:34:33 +0000 |
commit | d3e928aa397731f7661bad5e7fc73095002cc026 (patch) | |
tree | 66d31a2ef46ec5535f9029d207bb519f7b6559cd | |
parent | e59bc5c038f0636ea36886caf99fc6f861469a5d (diff) | |
download | alpine-iso-d3e928aa397731f7661bad5e7fc73095002cc026.tar.bz2 alpine-iso-d3e928aa397731f7661bad5e7fc73095002cc026.tar.xz |
clean repo if it failed to download
-rwxr-xr-x | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 $@ |