summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-03 02:53:13 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-03 02:53:13 +0000
commit6dcd15c933bef25dbe430fe487dd6cb47939e5e9 (patch)
treeacba6f0e49a1992ad1c59e8dcbb298565ae2dc98
parentb0d4ac6f4d827ac4a07c95515c406392bc4fe322 (diff)
do not fail on empty packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17504 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 58c209d24..bd4e28ce3 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 $$@