summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2009-01-23 22:58:37 +0000
committerRussell Bryant <russell@russellbryant.com>2009-01-23 22:58:37 +0000
commitac7bd2ddd9f6d860e0bac1bfed3f3e303c11aeeb (patch)
treea6b0501159ebcc3853122fa73f13df88e15c5b17 /doc
parent31f027a8c2f9db60ea7a9460f2411263cbcfce8e (diff)
Don't blow up if a branch name has an underscore in it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'doc')
-rw-r--r--doc/tex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tex/Makefile b/doc/tex/Makefile
index bdb29dd07..40f76fc96 100644
--- a/doc/tex/Makefile
+++ b/doc/tex/Makefile
@@ -24,7 +24,7 @@ ifeq ($(findstring fncychap.sty,$(shell find `$(KPATHSEA) --expand-braces='$${TE
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