]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't put ':' in to user agent string (MODSOFIA-71)
authorMichael Jerris <mike@jerris.com>
Mon, 26 Apr 2010 06:18:15 +0000 (02:18 -0400)
committerMichael Jerris <mike@jerris.com>
Mon, 26 Apr 2010 06:18:15 +0000 (02:18 -0400)
Makefile.am

index a9e4921344514b27d71134a94821dfcec55d05d5..4bd09c7f0de5f1b69d709ec1d69a316a1adbb176 100644 (file)
@@ -350,7 +350,7 @@ src/include/switch_version.h: src/include/switch_version.h.in .version $(libfree
          touch .version ; \
        else \
          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 \
              version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
            else \