expunge find GNUism
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Dec 2007 11:31:27 +0000 (11:31 +0000)
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Dec 2007 11:31:27 +0000 (11:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9955 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/package.mk

index d5d39d8..c937ab3 100644 (file)
@@ -86,7 +86,7 @@ define Build/DefaultTargets
        mkdir -p $(TMP_DIR)/stage-$(PKG_NAME)/host $(STAGING_DIR)/packages $(STAGING_DIR_HOST)/packages
        $(call Build/InstallDev,$(TMP_DIR)/stage-$(PKG_NAME),$(TMP_DIR)/stage-$(PKG_NAME)/host)
        if [ -d $(TMP_DIR)/stage-$(PKG_NAME) ]; then \
-               (cd $(TMP_DIR)/stage-$(PKG_NAME); find > $(STAGING_DIR)/packages/$(PKG_NAME).list); \
+               (cd $(TMP_DIR)/stage-$(PKG_NAME); find ./ > $(STAGING_DIR)/packages/$(PKG_NAME).list); \
                $(CP) $(TMP_DIR)/stage-$(PKG_NAME)/* $(STAGING_DIR)/; \
        fi
        rm -rf $(TMP_DIR)/stage-$(PKG_NAME)