collectd: fix upstream bug in 5.9.2 version string
Fix the missing version bump in the upstream source code to display the correct version 5.9.2 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
parent
213969e6e4
commit
fa9163824b
1 changed files with 11 additions and 0 deletions
11
utils/collectd/patches/0001-fix-5.9.2-version-string.patch
Normal file
11
utils/collectd/patches/0001-fix-5.9.2-version-string.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/version-gen.sh
|
||||||
|
+++ b/version-gen.sh
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
-DEFAULT_VERSION="5.9.0.git"
|
||||||
|
+DEFAULT_VERSION="5.9.2"
|
||||||
|
|
||||||
|
if [ -d .git ]; then
|
||||||
|
VERSION="`git describe --dirty=+ --abbrev=7 2> /dev/null | grep collectd | sed -e 's/^collectd-//' -e 's/-/./g'`"
|
||||||
|
|
Loading…
Reference in a new issue