Skip to content
Snippets Groups Projects
Commit dffa53f7 authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent ca55e2f6
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ else ...@@ -15,7 +15,7 @@ else
@echo "** located at asterisk.pdf. ***" @echo "** located at asterisk.pdf. ***"
@echo "**********************************************" @echo "**********************************************"
@cp asterisk.tex asterisk.tex.orig @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 @$(RUBBER) --pdf asterisk.tex
@mv asterisk.tex.orig asterisk.tex @mv asterisk.tex.orig asterisk.tex
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment