Fix replacing the version number when it has a '/' in it, like

SVN-group-chan_unistim-r88326M-/trunk


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2007-11-02 20:13:18 +00:00
parent ca55e2f671
commit dffa53f718
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ else
@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