[asterisk-commits] murf: branch 1.4 r76211 - /branches/1.4/sounds/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 20 16:36:06 CDT 2007


Author: murf
Date: Fri Jul 20 16:36:05 2007
New Revision: 76211

URL: http://svn.digium.com/view/asterisk?view=rev&rev=76211
Log:
This patch from 10249 is worth applying! It prevents downloading sound files if they are already downloaded. Darn Practical, if you ask me

Modified:
    branches/1.4/sounds/Makefile

Modified: branches/1.4/sounds/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/sounds/Makefile?view=diff&rev=76211&r1=76210&r2=76211
==============================================================================
--- branches/1.4/sounds/Makefile (original)
+++ branches/1.4/sounds/Makefile Fri Jul 20 16:36:05 2007
@@ -131,13 +131,13 @@
 	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




More information about the asterisk-commits mailing list