mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
46270cda83
- Update GITHUB usage - Use software own install target - Removed support for unsupported FreeBSD releases
14 lines
261 B
Bash
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"
|