diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-06-30 17:52:49 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-06-30 17:52:49 +0000 |
commit | 90f8e459e593eea8ea3f2374a4c5fb16e18573ac (patch) | |
tree | 6f48dc6ebb25317137cd7a329a1d476988f93c63 /sounds | |
parent | 7718426316997e2ec057ef861b75d135e617566c (diff) |
more reasons why solaris sucks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'sounds')
-rw-r--r-- | sounds/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sounds/Makefile b/sounds/Makefile index a55b765d4..bbb79d443 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: |