oconfig: fix oconfig_free to free all elements
[collectd.git] / version-gen.sh
index dc0ab92..40c1144 100755 (executable)
@@ -1,6 +1,6 @@
-#!/usr/bin/env bash
+#!/bin/sh
 
-DEFAULT_VERSION="5.1.3.git"
+DEFAULT_VERSION="5.3.1.git"
 
 VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
 
@@ -10,4 +10,4 @@ fi
 
 VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
 
-echo -n "$VERSION"
+printf "%s" "$VERSION"