diff --git a/version-gen.sh b/version-gen.sh
index 27ceb3b9b2d43f51ee5e33642dffa2c0bf7803f1..e3445412a4916077ef00e8b22a2fdf07c87990d0 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
-#!/bin/sh
+#!/usr/bin/env bash
-DEFAULT_VERSION="4.10.2.git"
+DEFAULT_VERSION="5.2.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"