1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/mail/dma/files/patch-get-version.sh
Guido Falsi 46270cda83 - Update to 0.11
- Update GITHUB usage
- Use software own install target
- Removed support for unsupported FreeBSD releases
2016-02-14 14:55:10 +00:00

14 lines
261 B
Bash

--- 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 ${file} 2>/dev/null)
-version=${gitver}
: ${version:=$filever}
echo "$version"