From: Felix Fietkau Date: Thu, 3 Sep 2009 02:53:13 +0000 (+0000) Subject: do not fail on empty packages X-Git-Tag: reboot~22509 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4b197737e99cbbbe49da0afeea1454ea69f70ef;p=oweals%2Fopenwrt.git do not fail on empty packages SVN-Revision: 17504 --- diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 58c209d242..bd4e28ce35 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -63,7 +63,7 @@ ifeq ($(DUMP),) mkdir -p $(STAGING_DIR_ROOT)/stamp $(STAGING_DIR_ROOT)/tmp-$(1) $(call Package/$(1)/install,$(STAGING_DIR_ROOT)/tmp-$(1)) $(call Package/$(1)/install_lib,$(STAGING_DIR_ROOT)/tmp-$(1)) - $(CP) $(STAGING_DIR_ROOT)/tmp-$(1)/* $(STAGING_DIR_ROOT)/ + $(CP) $(STAGING_DIR_ROOT)/tmp-$(1)/. $(STAGING_DIR_ROOT)/ rm -rf $(STAGING_DIR_ROOT)/tmp-$(1) touch $$@