summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-10-16 20:55:47 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-10-16 20:55:47 (GMT)
commitfa636a2eabaa7631278f1b0794f0cea28378dce5 (patch)
tree1863acfe6624eb13daf7b4429c81eecca356d8c1 /Makefile
parent7fe43cc927959b41de51f00be1e98f0613670e33 (diff)
downloadmxe-fa636a2eabaa7631278f1b0794f0cea28378dce5.zip
mxe-fa636a2eabaa7631278f1b0794f0cea28378dce5.tar.gz
mxe-fa636a2eabaa7631278f1b0794f0cea28378dce5.tar.bz2
print wget command to download logs
This command is useful for downloading problems debugging.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 937c426..6f58491 100644
--- a/Makefile
+++ b/Makefile
@@ -458,7 +458,7 @@ download-only-$($(1)_FILE)::
@[ -d '$(LOG_DIR)/$(TIMESTAMP)' ] || mkdir -p '$(LOG_DIR)/$(TIMESTAMP)'
@if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \
$(PRINTF_FMT) '[download]' '$(1)' | $(RTRIM); \
- ($(call DOWNLOAD_PKG_ARCHIVE,$(1))) &> '$(LOG_DIR)/$(TIMESTAMP)/$(1)-download'; \
+ (set -x; $(call DOWNLOAD_PKG_ARCHIVE,$(1))) &> '$(LOG_DIR)/$(TIMESTAMP)/$(1)-download'; \
grep 'MXE Warning' '$(LOG_DIR)/$(TIMESTAMP)/$(1)-download'; \
ln -sf '$(TIMESTAMP)/$(1)-download' '$(LOG_DIR)/$(1)-download'; \
if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \