diff --git a/version-gen.sh b/version-gen.sh
index e40405c137f931ecf1a2703b163b206f16fadef8..879e3e8dae22b86fd10a8266d7f307ab54d80a6d 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
-#!/bin/sh
+#!/usr/bin/env bash
-DEFAULT_VERSION="5.0.1.git"
+DEFAULT_VERSION="5.1.2.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"