aboutsummaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authorpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2010-12-29 18:22:23 +0000
committerpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2010-12-29 18:22:23 +0000
commit0de9f79c4f1be68f54d30255fcec214f4e2126af (patch)
treeb30d139c9c7dccce840fd80cff9c47cfc5e003bb /sounds
parentb12aa44292bb7d732abae6d1548958a7011c3e95 (diff)
Properly quote varibles for MAC OS X
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@299907 f38db490-d61c-443f-a65b-d21fe96a405b
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: