From 3723b8b205df7f42d72a93b9fc1b700f2c289f81 Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 18 Feb 2010 04:19:01 +0000 Subject: Tweak argument handling for wget in the sounds Makefile. 1) Fix the check to see if we are using wget to not be full of fail. The configure script populates this variable with the absolute path to wget if it is found, so it didn't work. 2) Allow some extra arguments to be passed in for wget. This is just a simple change to allow our Bamboo build script to tell wget to be quiet and not fill up our logs with download status output. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@247422 f38db490-d61c-443f-a65b-d21fe96a405b --- sounds/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sounds') diff --git a/sounds/Makefile b/sounds/Makefile index 6052c8adf..63ca8fe5a 100644 --- a/sounds/Makefile +++ b/sounds/Makefile @@ -53,8 +53,8 @@ MM:=$(subst -G722,-g722,$(MM)) MOH:=$(MM:MOH-%=asterisk-moh-%.tar.gz) MOH_TAGS:=$(MM:MOH-%=$(MOH_DIR)/.asterisk-moh-%) # If "fetch" is used, --continue is not a valid option. -ifeq ($(WGET),wget) -WGET_ARGS:=--continue +ifneq ($(findstring wget,$(WGET)),) +WGET_ARGS:=--continue $(WGET_EXTRA_ARGS) endif all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH) -- cgit v1.2.3