From: nbd Date: Mon, 23 Mar 2009 18:33:40 +0000 (+0000) Subject: fix the path to the build dir for host packages X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=d0ddef4be10182314022f491a18d9cde0807a625;hp=bded6e9b33e96b45ac96edbbbafe6788f1846e02 fix the path to the build dir for host packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14998 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/quilt.mk b/include/quilt.mk index 1bbe9d6ee..6c4839ba4 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -100,8 +100,8 @@ define Quilt/RefreshDir mkdir -p $(2) -rm -f $(2)/* 2>/dev/null >/dev/null @( \ - for patch in $$$$($(if $(3),grep "^$(3)",cat) $(PKG_BUILD_DIR)/patches/series | awk '{print $$$$1}'); do \ - $(CP) -v "$(PKG_BUILD_DIR)/patches/$$$$patch" $(2); \ + for patch in $$$$($(if $(3),grep "^$(3)",cat) $(1)/patches/series | awk '{print $$$$1}'); do \ + $(CP) -v "$(1)/patches/$$$$patch" $(2); \ done; \ ) endef