From 995cedb319fd03b2c0d247e112348e756982bbb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=BCsch?= Date: Thu, 4 Nov 2010 12:42:37 +0000 Subject: InstallDev: Move the "find" out of the lock critical section. SVN-Revision: 23858 --- include/package.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/package.mk') diff --git a/include/package.mk b/include/package.mk index 712b793..06f3a83 100644 --- a/include/package.mk +++ b/include/package.mk @@ -132,8 +132,9 @@ define Build/DefaultTargets $(call $(hook),$(TMP_DIR)/stage-$(PKG_NAME),$(TMP_DIR)/stage-$(PKG_NAME)/host)$(sep)\ ) if [ -d $(TMP_DIR)/stage-$(PKG_NAME) ]; then \ + (cd $(TMP_DIR)/stage-$(PKG_NAME); find ./ > $(TMP_DIR)/stage-$(PKG_NAME).files); \ $(call locked, \ - (cd $(TMP_DIR)/stage-$(PKG_NAME); find ./ > $(STAGING_DIR)/packages/$(STAGING_FILES_LIST)); \ + mv $(TMP_DIR)/stage-$(PKG_NAME).files $(STAGING_DIR)/packages/$(STAGING_FILES_LIST) && \ $(CP) $(TMP_DIR)/stage-$(PKG_NAME)/* $(STAGING_DIR)/; \ ,staging-dir); \ fi -- cgit v1.1