diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-11-02 20:13:18 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-11-02 20:13:18 +0000 |
commit | dffa53f718717a8630b3ee6f36d0366a585de8a1 (patch) | |
tree | 28da9c6ff041afbbafe6e6b0833f109bc3f9844a /doc/tex/Makefile | |
parent | ca55e2f671d8ef80a5ac184f7b4c44a66a177d86 (diff) |
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
Diffstat (limited to 'doc/tex/Makefile')
-rw-r--r-- | doc/tex/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tex/Makefile b/doc/tex/Makefile index 2ccf892d3..e0b1ecd9a 100644 --- a/doc/tex/Makefile +++ b/doc/tex/Makefile @@ -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 |