[asterisk-commits] pabelanger: branch 1.8 r299948 - /branches/1.8/sounds/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 29 19:28:38 UTC 2010


Author: pabelanger
Date: Wed Dec 29 13:28:36 2010
New Revision: 299948

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=299948
Log:
Only remove /tmp/astdatadir, not /var/lib/asterisk

Modified:
    branches/1.8/sounds/Makefile

Modified: branches/1.8/sounds/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/sounds/Makefile?view=diff&rev=299948&r1=299947&r2=299948
==============================================================================
--- branches/1.8/sounds/Makefile (original)
+++ branches/1.8/sounds/Makefile Wed Dec 29 13:28:36 2010
@@ -144,8 +144,8 @@
 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)
 




More information about the asterisk-commits mailing list