X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=version-gen.sh;h=5bc20a112927c3969901bc2157bdad18d629d210;hb=7f3cfaf93d1dec3eece0be995b10202f7f61bb50;hp=e2f1bec7232fb3abc52709542040de2a990e4e38;hpb=92c4cafa78eea14de24309abfb0c965bffd15b6b;p=collectd.git diff --git a/version-gen.sh b/version-gen.sh index e2f1bec7..c2c0f619 100755 --- a/version-gen.sh +++ b/version-gen.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!/usr/bin/env bash -DEFAULT_VERSION="4.9.2.git" +DEFAULT_VERSION="5.4.2.git" VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`" @@ -10,8 +10,4 @@ fi VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`" -if test "x`uname -s`" = "xAIX" -o "x`uname -s`" = "xSunOS" ; then - echo "$VERSION\c" -else - echo -n "$VERSION" -fi +echo -n "$VERSION"