From 5308aac5ce8fac4acc12d179e922e530e5752c9f Mon Sep 17 00:00:00 2001 From: John Voltz Date: Thu, 1 May 2008 14:11:30 +0000 Subject: [PATCH] fix festival file downloaders --- package/festival/lexicons/festlex.mk | 6 +++--- package/festival/voices/festvox.mk | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package/festival/lexicons/festlex.mk b/package/festival/lexicons/festlex.mk index 912803f1eb..f5fdc9f763 100644 --- a/package/festival/lexicons/festlex.mk +++ b/package/festival/lexicons/festlex.mk @@ -12,13 +12,13 @@ FESTLEX_INSTALL_DIR = $(TARGET_DIR)/usr/share $(FESTLEX_STATUS_DIR)/.downloaded: mkdir -p $(FESTLEX_STATUS_DIR) ifeq ($(BR2_PACKAGE_FESTLEX_CMU),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX1) + $(Q)test -e $(DL_DIR)/$(LEX1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX1) endif ifeq ($(BR2_PACKAGE_FESTLEX_OALD),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX2) + $(Q)test -e $(DL_DIR)/$(LEX2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX2) endif ifeq ($(BR2_PACKAGE_FESTLEX_POS),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX3) + $(Q)test -e $(DL_DIR)/$(LEX3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(LEX3) endif touch $@ diff --git a/package/festival/voices/festvox.mk b/package/festival/voices/festvox.mk index fdb71eb2ef..8456a4903d 100644 --- a/package/festival/voices/festvox.mk +++ b/package/festival/voices/festvox.mk @@ -21,35 +21,35 @@ FESTVOX_INSTALL_DIR = $(TARGET_DIR)/usr/share $(FESTVOX_STATUS_DIR)/.downloaded: mkdir -p $(FESTVOX_STATUS_DIR) ifeq ($(BR2_PACKAGE_FESTVOX_AWB),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE1) + $(Q)test -e $(DL_DIR)/$(VOICE1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE1) endif ifeq ($(BR2_PACKAGE_FESTVOX_BDL),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE2) + $(Q)test -e $(DL_DIR)/$(VOICE2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE2) endif ifeq ($(BR2_PACKAGE_FESTVOX_JMK),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE3) + $(Q)test -e $(DL_DIR)/$(VOICE3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE3) endif ifeq ($(BR2_PACKAGE_FESTVOX_SLT),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE4) + $(Q)test -e $(DL_DIR)/$(VOICE4) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE4) endif ifeq ($(BR2_PACKAGE_FESTVOX_AWB_MULTISYN),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE5) + $(Q)test -e $(DL_DIR)/$(VOICE5) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE5) endif ifeq ($(BR2_PACKAGE_FESTVOX_JMK_MULTISYN),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE6) + $(Q)test -e $(DL_DIR)/$(VOICE6) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE6) endif ifeq ($(BR2_PACKAGE_FESTVOX_KAL_SIXTEENK),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE7) + $(Q)test -e $(DL_DIR)/$(VOICE7) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE7) endif ifeq ($(BR2_PACKAGE_FESTVOX_KED_EIGHTK),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE8) + $(Q)test -e $(DL_DIR)/$(VOICE8) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE8) endif ifeq ($(BR2_PACKAGE_FESTVOX_KED_SIXTEENK),y) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE9) + $(Q)test -e $(DL_DIR)/$(VOICE9) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(VOICE9) endif - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND1) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND2) - $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND3) + $(Q)test -e $(DL_DIR)/$(FRONTEND1) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND1) + $(Q)test -e $(DL_DIR)/$(FRONTEND2) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND2) + $(Q)test -e $(DL_DIR)/$(FRONTEND3) || $(WGET) -P $(DL_DIR) $(FESTIVAL_SITE)/$(FRONTEND3) touch $@ -- 2.30.2