Code

Merge branch 'fix-stringio-python2.7' of git://github.com/aelse/collectd
[collectd.git] / version-gen.sh
index 2a93ab7bcd09bf96a763aa5bbf352f2c51c4de6c..4be9a4946426f4a370d4880e40695fd53235c543 100755 (executable)
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
-DEFAULT_VERSION="4.9.2.git"
+DEFAULT_VERSION="5.3.0.git"
 
 VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
 
@@ -10,8 +10,4 @@ fi
 
 VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
 
-if test "x`uname -s`" = "xAIX" ; then 
-       echo "$VERSION\c"
-else 
-       echo -n "$VERSION"
-fi
+echo -n "$VERSION"