cp/guest: queue up a Channel Report Word after a device is attached
[hvf.git] / cp / scripts / extract-version.sh
blobd94a8c4f724a12c585a25a9608ca8eb4cf7e725c
1 #!/bin/sh
3 v=`git describe 2> /dev/null`
5 case "$v" in
6 "")
7 awk '/^VERSION=/ { print substr($0,9); exit; }' < Makefile
8 ;;
9 *)
10 echo "$v"
12 esac