diff --git a/version-gen.sh b/version-gen.sh
index 72458572b10948f0374208498080452bb420ae79..3a7fac860ad49c378b151f1d7f55f6b95cc845c5 100755 (executable)
--- a/version-gen.sh
+++ b/version-gen.sh
-#!/usr/bin/env bash
+#!/bin/sh
-DEFAULT_VERSION="5.2.0.git"
+DEFAULT_VERSION="5.4.2.git"
VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
-echo -n "$VERSION"
+printf "%s" "$VERSION"