aboutsummaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-30 17:52:49 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-30 17:52:49 +0000
commitba98f584d6688408f790fb838a05a29c25637765 (patch)
tree6f48dc6ebb25317137cd7a329a1d476988f93c63 /sounds
parent64213fe791621cfff06dc3dd3df5c8300c548178 (diff)
more reasons why solaris sucks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36440 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'sounds')
-rw-r--r--sounds/Makefile24
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: