From: Russell Bryant Date: Fri, 30 Jun 2006 17:52:49 +0000 (+0000) Subject: more reasons why solaris sucks X-Git-Tag: 1.4.0-beta1~717 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=90f8e459e593eea8ea3f2374a4c5fb16e18573ac;p=thirdparty%2Fasterisk.git more reasons why solaris sucks git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36440 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/sounds/Makefile b/sounds/Makefile index a55b765d41..bbb79d4439 100644 --- a/sounds/Makefile +++ b/sounds/Makefile @@ -56,33 +56,33 @@ all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH) $(SOUNDS_DIR)/.asterisk-core-sounds-en-%: @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ - if ! test -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \ - if ! test -f $${PACKAGE}; then exit 1; fi; \ + if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \ + if test ! -f $${PACKAGE}; then exit 1; fi; \ rm -f $(subst -$(CORE_SOUNDS_VERSION),,$@)-* && \ - (cd $(SOUNDS_DIR); tar xzf $(PWD)/$${PACKAGE}) && \ + (cd $(SOUNDS_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \ touch $@ $(SOUNDS_DIR)/.asterisk-core-sounds-fr-%: $(SOUNDS_DIR)/fr @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ - if ! test -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \ - if ! test -f $${PACKAGE}; then exit 1; fi; \ + if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \ + if test ! -f $${PACKAGE}; then exit 1; fi; \ rm -f $(subst -$(CORE_SOUNDS_VERSION),,$@)-* && \ - (cd $(SOUNDS_DIR)/fr; tar xzf $(PWD)/$${PACKAGE}) && \ + (cd $(SOUNDS_DIR)/fr; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \ touch $@ $(SOUNDS_DIR)/.asterisk-core-sounds-fr-%: $(SOUNDS_DIR)/es @PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \ - if ! test -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \ - if ! test -f $${PACKAGE}; then exit 1; fi; \ + if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \ + if test ! -f $${PACKAGE}; then exit 1; fi; \ rm -f $(subst -$(CORE_SOUNDS_VERSION),,$@)-* && \ - (cd $(SOUNDS_DIR)/es; tar xzf $(PWD)/$${PACKAGE}) && \ + (cd $(SOUNDS_DIR)/es; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \ touch $@ $(MOH_DIR)/.asterisk-moh-%: @PACKAGE=$(subst $(MOH_DIR)/.asterisk,asterisk,$@).tar.gz; \ - if ! test -f $${PACKAGE}; then wget $(WGET_ARGS) $(MOH_URL)/$${PACKAGE}; fi; \ - if ! test -f $${PACKAGE}; then exit 1; fi; \ - (cd $(MOH_DIR); tar xzf $(PWD)/$${PACKAGE}) && \ + if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(MOH_URL)/$${PACKAGE}; fi; \ + if test ! -f $${PACKAGE}; then exit 1; fi; \ + (cd $(MOH_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \ touch $@ asterisk-core-%.tar.gz: