Merged revisions 299948 via svnmerge from
authorPaul Belanger <paul.belanger@polybeacon.com>
Wed, 29 Dec 2010 19:29:51 +0000 (19:29 +0000)
committerPaul Belanger <paul.belanger@polybeacon.com>
Wed, 29 Dec 2010 19:29:51 +0000 (19:29 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r299948 | pabelanger | 2010-12-29 14:28:36 -0500 (Wed, 29 Dec 2010) | 2 lines

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@299949 65c4cc65-6c06-0410-ace0-fbb531ad65f3

sounds/Makefile

index 47b42d9..5994f5b 100644 (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)