Revision
17390
Author
mike
Date
2010-04-26 01:18:15 -0500 (Mon, 26 Apr 2010)

Log Message

don't put ':' in to user agent string (MODSOFIA-71)

Modified Paths

Diff

Modified: freeswitch/trunk/Makefile.am (17389 => 17390)


--- freeswitch/trunk/Makefile.am	2010-04-26 06:11:46 UTC (rev 17389)
+++ freeswitch/trunk/Makefile.am	2010-04-26 06:18:15 UTC (rev 17390)
@@ -350,7 +350,7 @@
 	  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 \