21 lines
398 B
Text
21 lines
398 B
Text
Index: scripts/get-version
|
|
--- scripts/get-version.orig
|
|
+++ scripts/get-version
|
|
@@ -18,15 +18,14 @@ os=$1
|
|
if [ $# -eq 2 ] && [ "$2" ]; then
|
|
v0=$2
|
|
else
|
|
- cmd="git describe --abbrev=12"
|
|
- v0=$($cmd) || v0=$(cat .gitversion) || croak "odd; command '$cmd' failed"
|
|
+ v0="v4.8.5"
|
|
fi
|
|
|
|
# strip off the 'v' prefix, if any
|
|
v0=${v0#v}
|
|
|
|
case $os in
|
|
- linux)
|
|
+ openbsd|linux)
|
|
v=$v0
|
|
;;
|
|
darwin)
|