[packages] collectd: Fixed error for git users due to use of git describe for version...
authorDaniel Dickinson <crazycshore@gmail.com>
Sat, 11 Dec 2010 06:26:40 +0000 (06:26 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Sat, 11 Dec 2010 06:26:40 +0000 (06:26 +0000)
SVN-Revision: 24478

utils/collectd/patches/200-fix-git-describe-error.patch [new file with mode: 0644]

diff --git a/utils/collectd/patches/200-fix-git-describe-error.patch b/utils/collectd/patches/200-fix-git-describe-error.patch
new file mode 100644 (file)
index 0000000..b5f6e4c
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/version-gen.sh
++++ b/version-gen.sh
+@@ -2,7 +2,7 @@
+ DEFAULT_VERSION="4.10.2.git"
+-VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
++#VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
+ if test -z "$VERSION"; then
+       VERSION="$DEFAULT_VERSION"