aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-23 22:58:37 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-23 22:58:37 +0000
commit199d369adc7bd2980a8594488ea4155eeaccd5a4 (patch)
treea6b0501159ebcc3853122fa73f13df88e15c5b17 /doc
parent4ecc72e563059d1ca35055bf00e704c7c1fb204d (diff)
Don't blow up if a branch name has an underscore in it
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@170790 f38db490-d61c-443f-a65b-d21fe96a405b
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