aboutsummaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
Diffstat (limited to 'sounds')
-rw-r--r--sounds/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sounds/Makefile b/sounds/Makefile
index 7ac405d38..47b42d9a0 100644
--- a/sounds/Makefile
+++ b/sounds/Makefile
@@ -144,6 +144,9 @@ endif
all: prefixcmd $(SOUNDS_CACHE_DIR) $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)
prefixcmd:
+ if [ -d $(TMPDATADIR) ] ; then \
+ rm -rf $(TMPDATADIR) ; \
+ fi
@$(PREFIXCMD)
have_download: