diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-18 04:19:01 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-18 04:19:01 +0000 |
commit | 3723b8b205df7f42d72a93b9fc1b700f2c289f81 (patch) | |
tree | 13754f0680b089f3f9f597fff751a17b67ca5d99 /sounds | |
parent | 90bc73c565eb3789a78fa8a4c4acbdb35769feb7 (diff) |
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
Diffstat (limited to 'sounds')
-rw-r--r-- | sounds/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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) |