aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-03 02:53:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-03 02:53:13 +0000
commitc4b197737e99cbbbe49da0afeea1454ea69f70ef (patch)
treefb06ee2afb8fbc8f49351e7e2aa42d8f39f122c0
parentd1f1ff5759c58a19688a4ef0c44e92c46630fe74 (diff)
downloadupstream-c4b197737e99cbbbe49da0afeea1454ea69f70ef.tar.gz
upstream-c4b197737e99cbbbe49da0afeea1454ea69f70ef.tar.bz2
upstream-c4b197737e99cbbbe49da0afeea1454ea69f70ef.zip
do not fail on empty packages
SVN-Revision: 17504
-rw-r--r--include/package-ipkg.mk2
1 files changed, 1 insertions, 1 deletions
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 $$@