summaryrefslogtreecommitdiff
path: root/mail/dma/files/patch-get-version.sh
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2016-02-14 14:55:10 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2016-02-14 14:55:10 +0000
commit46270cda838cf13a4ce5611aadd5b104b700fe6d (patch)
tree2bb04c8648d9f90a6e8a210fa1c812f4c70aa750 /mail/dma/files/patch-get-version.sh
parent- Fix formating (diff)
- Update to 0.11
- Update GITHUB usage - Use software own install target - Removed support for unsupported FreeBSD releases
Notes
Notes: svn path=/head/; revision=408860
Diffstat (limited to 'mail/dma/files/patch-get-version.sh')
-rw-r--r--mail/dma/files/patch-get-version.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/dma/files/patch-get-version.sh b/mail/dma/files/patch-get-version.sh
index 858b013be099..afbd645689f5 100644
--- a/mail/dma/files/patch-get-version.sh
+++ b/mail/dma/files/patch-get-version.sh
@@ -1,10 +1,11 @@
---- get-version.sh.orig 2012-03-08 17:37:54.000000000 +0000
-+++ get-version.sh 2012-03-08 17:38:41.000000000 +0000
-@@ -1,9 +1,7 @@
- #!/bin/sh
+--- get-version.sh.orig 2016-02-07 12:41:49 UTC
++++ get-version.sh
+@@ -2,10 +2,8 @@
+ tmp=$1
+ file=${tmp:=VERSION}
-gitver=$(git describe 2>/dev/null | tr - .)
- filever=$(cat VERSION)
+ filever=$(cat ${file} 2>/dev/null)
-version=${gitver}
: ${version:=$filever}