get_version.sh 98 Bytes
Newer Older
1 2 3 4 5
#!/bin/bash

cd "$(dirname "$0")"

cat version.h | grep CGVERSION | sed "s/^.*\"\(.*\)\".*$/\1/g"