blob: c659d0640b69c2e7b033eeb84abfafb411e7452f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff --git version-gen.sh version-gen.sh
index e344541..1ed7480 100755
--- version-gen.sh
+++ version-gen.sh
@@ -1,13 +1,3 @@
-#!/usr/bin/env bash
+#!/bin/sh
-DEFAULT_VERSION="5.2.1.git"
-
-VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
-
-if test -z "$VERSION"; then
- VERSION="$DEFAULT_VERSION"
-fi
-
-VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
-
-echo -n "$VERSION"
+echo -n "5.2.1.git"
|