forked from Mirrors/freeswitch
don't put ':' in to user agent string (MODSOFIA-71)
This commit is contained in:
parent
c0a6abad73
commit
97395b8c79
|
@ -350,7 +350,7 @@ src/include/switch_version.h: src/include/switch_version.h.in .version $(libfree
|
||||||
touch .version ; \
|
touch .version ; \
|
||||||
else \
|
else \
|
||||||
if [ -d .git ] ; then \
|
if [ -d .git ] ; then \
|
||||||
version=`git log --format="%h %ci" -1 HEAD | head -1 || echo hacked` ; \
|
version=`git log --format="%h %ci" -1 HEAD | head -1 | sed -e 's|:|-|g' || echo hacked` ; \
|
||||||
if [ "x$$version" == "xhacked" ] ; then \
|
if [ "x$$version" == "xhacked" ] ; then \
|
||||||
version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
|
version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
|
||||||
else \
|
else \
|
||||||
|
|
Loading…
Reference in New Issue