mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user