Terminate sed substitution command with semicolon to fix error on OSX.

sed: 1: "/#define *SWITCH_VERSIO ...": bad flag in substitute command: '}'

Reported-by: scruz in #freeswitch @ irc.freenode.net
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
This commit is contained in:
Stefan Knoblich 2012-06-18 13:32:43 +02:00
parent 068586f28f
commit 81b9ab7316
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ src/include/switch_version.h: src/include/switch_version.h.in Makefile build/pri
@cat $< > $@; \
if [ -d .git ] && [ -n "$$(which git)" ]; then \
xver="$$(./build/print_git_revision)"; \
sed -e "/#define *SWITCH_VERSION_REVISION/{s/\"\([^\"]*\)\"/\"\1$$xver\"/}" \
sed -e "/#define *SWITCH_VERSION_REVISION/{s/\"\([^\"]*\)\"/\"\1$$xver\"/;}" \
$< > $@; \
fi;