diff --git a/package/Makefile b/package/Makefile index 7e69b9a0b5..b5581f9859 100644 --- a/package/Makefile +++ b/package/Makefile @@ -129,6 +129,7 @@ $(curdir)/index: FORCE @echo Generating package index... ifneq ($(CONFIG_USE_APK),) @for d in $(PACKAGE_SUBDIRS); do \ + set -e; \ mkdir -p $$d; \ cd $$d || continue; \ ls *.apk >/dev/null 2>&1 || continue; \