repo.or.cz
/
hvf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cp/guest: queue up a Channel Report Word after a device is attached
[hvf.git]
/
cp
/
scripts
/
extract-version.sh
blob
d94a8c4f724a12c585a25a9608ca8eb4cf7e725c
1
#!/bin/sh
2
3
v
=
`git describe 2> /dev/null`
4
5
case
"
$v
"
in
6
""
)
7
awk
'/^VERSION=/ { print substr(
$0
,9); exit; }'
<
Makefile
8
;;
9
*)
10
echo
"
$v
"
11
;;
12
esac