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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 23 16:58:37 CST 2009


Author: russell
Date: Fri Jan 23 16:58:37 2009
New Revision: 170790

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=170790
Log:
Don't blow up if a branch name has an underscore in it

Modified:
    trunk/doc/tex/Makefile

Modified: trunk/doc/tex/Makefile
URL: http://svn.digium.com/svn-view/asterisk/trunk/doc/tex/Makefile?view=diff&rev=170790&r1=170789&r2=170790
==============================================================================
--- trunk/doc/tex/Makefile (original)
+++ trunk/doc/tex/Makefile Fri Jan 23 16:58:37 2009
@@ -24,7 +24,7 @@
 endif
 endif
 	@cp asterisk.tex asterisk.tex.orig
-	@sed -e 's/ASTERISKVERSION/$(shell echo $(ASTERISKVERSION) | sed -e 's/\//\\\//g')/' asterisk.tex > asterisk_local.tex
+	@sed -e 's/ASTERISKVERSION/$(shell echo $(ASTERISKVERSION) | sed -e 's/\//\\\//g' | sed -e 's/_/\\_/g')/' asterisk.tex > asterisk_local.tex
 	@mv asterisk_local.tex asterisk.tex
 	@$(RUBBER) --pdf asterisk.tex
 	@mv asterisk.tex.orig asterisk.tex




More information about the asterisk-commits mailing list