From 71c6de1e566157d1f7591ead2ec03d62980055d8 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Sun, 13 Dec 2009 15:07:05 +0100 Subject: keep separate download logs in log/PKG-download --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b24ec31..789885e 100644 --- a/Makefile +++ b/Makefile @@ -120,14 +120,14 @@ $(PREFIX)/installed/$(1): $(TOP_DIR)/src/$(1).mk \ @[ -d '$(PKG_DIR)' ] || mkdir -p '$(PKG_DIR)' @if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \ echo '[download] $(1)'; \ - ($(call DOWNLOAD_PKG_ARCHIVE,$(1))) &> '$(LOG_DIR)/$(1)'; \ + ($(call DOWNLOAD_PKG_ARCHIVE,$(1))) &> '$(LOG_DIR)/$(1)-download'; \ if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \ echo; \ echo 'Wrong checksum of package $(1)!'; \ echo '------------------------------------------------------------'; \ - tail -n 10 '$(LOG_DIR)/$(1)' | $(SED) -n '/./p'; \ + tail -n 10 '$(LOG_DIR)/$(1)-download' | $(SED) -n '/./p'; \ echo '------------------------------------------------------------'; \ - echo '[log] $(LOG_DIR)/$(1)'; \ + echo '[log] $(LOG_DIR)/$(1)-download'; \ echo; \ exit 1; \ fi; \ -- cgit v0.12