mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user