Only remove /tmp/astdatadir, not /var/lib/asterisk

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@299948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Paul Belanger
2010-12-29 19:28:36 +00:00
parent 932c292a87
commit 96435b93c8

View File

@@ -144,8 +144,8 @@ endif
all: prefixcmd $(SOUNDS_CACHE_DIR) $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)
prefixcmd:
if [ -d $(TMPDATADIR) ] ; then \
rm -rf $(TMPDATADIR) ; \
if [ -d /tmp/astdatadir ] ; then \
rm -rf /tmp/astdatadir ; \
fi
@$(PREFIXCMD)