summaryrefslogtreecommitdiff
path: root/sounds
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-02-18 04:20:11 +0000
committerRussell Bryant <russell@russellbryant.com>2010-02-18 04:20:11 +0000
commit230ded23889a9bbd193d8282b6e5e532db13cbaf (patch)
tree02be55e3604d2eb37956df79e3914915e55d9197 /sounds
parent23d1c9186d8ce18a37c856a5242a4a525c500f97 (diff)
Merged revisions 247422 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r247422 | russell | 2010-02-17 22:19:01 -0600 (Wed, 17 Feb 2010) | 10 lines 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: https://origsvn.digium.com/svn/asterisk/trunk@247423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'sounds')
-rw-r--r--sounds/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sounds/Makefile b/sounds/Makefile
index 31789d715..55102567d 100644
--- a/sounds/Makefile
+++ b/sounds/Makefile
@@ -61,8 +61,8 @@ MM:=$(subst -SIREN14,-siren14,$(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)