freebsd-ports/net-mgmt/collectd5/files/patch-version-gen.sh
Steve Wills 28f601c5bd - Update to 5.3.0
- Switch to dependency based OPTIONS list

PR:		ports/179663
Submitted by:	Kimo <kimor79@yahoo.com>
Approved by:	Krzysztof Stryjek <ports@bsdserwis.com> (maintainer)
2013-06-20 03:02:07 +00:00

18 lines
425 B
Bash

--- ./version-gen.sh.orig 2013-05-21 21:22:23.000000000 +0000
+++ ./version-gen.sh 2013-05-21 21:23:19.000000000 +0000
@@ -1,13 +1,3 @@
-#!/usr/bin/env bash
-
-DEFAULT_VERSION="5.3.0.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'`"
+#!/bin/sh
-echo -n "$VERSION"
+echo -n "5.3.0.git"