mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 06:31:54 +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)
|
all: prefixcmd $(SOUNDS_CACHE_DIR) $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)
|
||||||
|
|
||||||
prefixcmd:
|
prefixcmd:
|
||||||
if [ -d $(TMPDATADIR) ] ; then \
|
if [ -d /tmp/astdatadir ] ; then \
|
||||||
rm -rf $(TMPDATADIR) ; \
|
rm -rf /tmp/astdatadir ; \
|
||||||
fi
|
fi
|
||||||
@$(PREFIXCMD)
|
@$(PREFIXCMD)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user