aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/collectd5/files/patch-version-gen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/collectd5/files/patch-version-gen.sh')
-rw-r--r--net-mgmt/collectd5/files/patch-version-gen.sh18
1 files changed, 8 insertions, 10 deletions
diff --git a/net-mgmt/collectd5/files/patch-version-gen.sh b/net-mgmt/collectd5/files/patch-version-gen.sh
index 390b3ed77615..c659d0640b69 100644
--- a/net-mgmt/collectd5/files/patch-version-gen.sh
+++ b/net-mgmt/collectd5/files/patch-version-gen.sh
@@ -1,10 +1,12 @@
---- version-gen.sh.orig 2012-04-09 20:04:16.130293641 -0500
-+++ version-gen.sh 2012-04-09 20:05:04.927297496 -0500
-@@ -1,17 +1,3 @@
+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.1.0.git"
+-DEFAULT_VERSION="5.2.1.git"
-
-VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`"
-
@@ -14,9 +16,5 @@
-
-VERSION="`echo \"$VERSION\" | sed -e 's/-/./g'`"
-
--if test "x`uname -s`" = "xAIX" ; then
-- echo "$VERSION\c"
--else
-- echo -n "$VERSION"
--fi
-+echo -n "5.1.0.git"
+-echo -n "$VERSION"
++echo -n "5.2.1.git"