diff --git a/sounds/Makefile b/sounds/Makefile index ca9015c8b50b4eb1f678a8b7af1c2520e17d5fa9..4aa1b1d93cf7ea6c39d517512369e68daaeac91c 100644 --- a/sounds/Makefile +++ b/sounds/Makefile @@ -52,7 +52,10 @@ MM:=$(subst -G729,-g729,$(MM)) 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 +endif all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)