diff --git a/version-gen.sh b/version-gen.sh
index 3baa6f82dec5443dbcfc18b29cd0defceb6491ec..e89e7113ca58aee42b8ad04fe92bdb4984916d6b 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
-#!/bin/sh
+#!/usr/bin/env bash
-DEFAULT_VERSION="4.10.4.git"
+DEFAULT_VERSION="5.4.0.git"
VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
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"