History

Merge "libs.mk: quiet curl output"

James Zern committed 6 years ago

Commit dbe00bb2 parents 7a92a78 859d66f1 file · +7 −6Browse files

Unified · Split

libs.mk+7−6
@@ -490,16 +490,17 @@ libvpx_test_srcs.txt: · 489 unmodified lines
490 @echo $(LIBVPX_TEST_SRCS) | xargs -n1 echo | LC_ALL=C sort -u > $@490 @echo $(LIBVPX_TEST_SRCS) | xargs -n1 echo | LC_ALL=C sort -u > $@
491CLEAN-OBJS += libvpx_test_srcs.txt491CLEAN-OBJS += libvpx_test_srcs.txt
492 492
493# Attempt to download the file using curl, retrying once if it fails for a
494# partial file (18).
493$(LIBVPX_TEST_DATA): $(SRC_PATH_BARE)/test/test-data.sha1495$(LIBVPX_TEST_DATA): $(SRC_PATH_BARE)/test/test-data.sha1
494 @echo " [DOWNLOAD] $@"496 @echo " [DOWNLOAD] $@"
495 # Attempt to download the file using curl, retrying once if it fails for a
496 # partial file (18).
497 $(qexec)( \497 $(qexec)( \
498 trap 'rm -f $@' INT TERM; \498 trap 'rm -f $@' INT TERM; \
499 curl="curl --retry 1 -L -o $@ $(call libvpx_test_data_url,$(@F))"; \499 curl="curl -S -s --retry 1 -L -o $@ $(call libvpx_test_data_url,$(@F))"; \
500 $$curl; \500 $$curl; ret=$$?; \
501 case "$$?" in \501 case "$$ret" in \
502 18) $$curl -C -;; \502 18) $$curl -C - ;; \
503 *) exit $$ret ;; \
503 esac \504 esac \
504 )505 )
505 506

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t