summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2009-01-23 23:10:34 +0000
committerRichard Mudgett <rmudgett@digium.com>2009-01-23 23:10:34 +0000
commit7ed9ece3371cdd939ef1fa904ce4d2c70addcf0e (patch)
tree88e5c0c67ee6c0b73ed10c541938ebddfd1ff64a /doc
parentac7bd2ddd9f6d860e0bac1bfed3f3e303c11aeeb (diff)
Fix asterisk.pdf generation if branch name has an underscore in it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170794 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 40f76fc96..cce8612fd 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' | 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