summaryrefslogtreecommitdiff
path: root/sounds
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-07-20 21:41:51 +0000
committerSteve Murphy <murf@digium.com>2007-07-20 21:41:51 +0000
commitbb1cdfebb331060ab24703d5c4fd645a58429772 (patch)
tree3aafc68a766c7c578f89ee945bae3e3ae440f681 /sounds
parenta618f771e6ea4651e13bb6025898d90855d5228a (diff)
Merged revisions 76211 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r76211 | murf | 2007-07-20 15:36:05 -0600 (Fri, 20 Jul 2007) | 1 line This patch from 10249 is worth applying! It prevents downloading sound files if they are already downloaded. Darn Practical, if you ask me ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'sounds')
-rw-r--r--sounds/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sounds/Makefile b/sounds/Makefile
index 1c62328ac..2ed37c659 100644
--- a/sounds/Makefile
+++ b/sounds/Makefile
@@ -130,13 +130,13 @@ $(MOH_DIR)/.asterisk-moh-%: have_download
touch $@
asterisk-core-%.tar.gz: have_download
- @$(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@
+ @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
asterisk-extra-%.tar.gz: have_download
- @$(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@
+ @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
asterisk-moh-%.tar.gz: have_download
- @$(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@
+ @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
dist-clean:
rm -f *.tar.gz