[asterisk-commits] russell: trunk r88327 - /trunk/doc/tex/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 2 15:13:18 CDT 2007


Author: russell
Date: Fri Nov  2 15:13:18 2007
New Revision: 88327

URL: http://svn.digium.com/view/asterisk?view=rev&rev=88327
Log:
Fix replacing the version number when it has a '/' in it, like
  SVN-group-chan_unistim-r88326M-/trunk

Modified:
    trunk/doc/tex/Makefile

Modified: trunk/doc/tex/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/doc/tex/Makefile?view=diff&rev=88327&r1=88326&r2=88327
==============================================================================
--- trunk/doc/tex/Makefile (original)
+++ trunk/doc/tex/Makefile Fri Nov  2 15:13:18 2007
@@ -15,7 +15,7 @@
 	@echo "** located at asterisk.pdf.                ***"	
 	@echo "**********************************************"
 	@cp asterisk.tex asterisk.tex.orig
-	@sed -i -e 's/ASTERISKVERSION/$(ASTERISKVERSION)/' asterisk.tex
+	sed -i -e 's/ASTERISKVERSION/$(shell echo $(ASTERISKVERSION) | sed -e 's/\//\\\//g')/' asterisk.tex
 	@$(RUBBER) --pdf asterisk.tex
 	@mv asterisk.tex.orig asterisk.tex
 endif




More information about the asterisk-commits mailing list