diff --git a/version-gen.sh b/version-gen.sh
index e3b2040f3b8894cc069dd25ae390e91eaaff0006..1ac1bc150cb86682af346cf200a0c4838aa9c927 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
-#!/bin/sh
+#!/usr/bin/env bash
-DEFAULT_VERSION="4.10.3.git"
+DEFAULT_VERSION="5.3.1.git"
VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
-if test "x`uname -s`" = "xAIX" || test "x`uname -s`" = "xSunOS" ; then
- echo "$VERSION\c"
-else
- echo -n "$VERSION"
-fi
+echo -n "$VERSION"