From 81b9ab73167c8bff32664d7b8302360b0c9f8753 Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Mon, 18 Jun 2012 13:32:43 +0200 Subject: [PATCH] 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 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index c8fdf0f219..99d3c2dd92 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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;