aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/collectd5/files/patch-version-gen.sh
blob: 6c0e6c9d5fbaa0b44ea53c9f0f4b2d8c861c87bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- version-gen.sh.orig 2017-11-18 09:03:27 UTC
+++ version-gen.sh
@@ -2,10 +2,6 @@
 
 DEFAULT_VERSION="5.8.0.git"
 
-if [ -d .git ]; then
-   VERSION="`git describe --dirty=+ --abbrev=7 2> /dev/null | grep collectd | sed -e 's/^collectd-//' -e 's/-/./g'`"
-fi
-
 if test -z "$VERSION"; then
    VERSION="$DEFAULT_VERSION"
 fi