From ecb14f4a5da62e9ea4b5020e25ccec37da669f59 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 26 May 2015 09:09:07 +0000 Subject: build: allow creating empty package feeds Signed-off-by: Felix Fietkau SVN-Revision: 45757 --- package/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/Makefile b/package/Makefile index d5212f09a8..94b807f5d5 100644 --- a/package/Makefile +++ b/package/Makefile @@ -138,8 +138,8 @@ endif $(curdir)/index: FORCE @echo Generating package index... @for d in $(PACKAGE_SUBDIRS); do ( \ - [ -d $(PACKAGE_DIR)/$$d ] && \ - cd $(PACKAGE_DIR)/$$d || continue; \ + mkdir -p $(PACKAGE_DIR)/$$d; \ + cd $(PACKAGE_DIR)/$$d || continue; \ $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages && \ gzip -9c Packages > Packages.gz; \ ); done -- cgit v1.2.3