Files
motion/version.sh
MrDave 940c879bc8 Version script Update
1.  Revise version number to 4.0.1
2.  Remove obsolete version scripts
3.  Change from echo to printf for compatability
4.  Update Makefile.in to remove obsolete svn and git variants
5.  Update Makefile.in to remove obsolete updateguide
2016-10-24 21:39:54 -06:00

9 lines
172 B
Bash
Executable File

#!/bin/sh
BASE_VERSION="4.0.1"
if [ -d .git ]; then
GIT_COMMIT=`git show -s --format=%h`
printf "$BASE_VERSION+git$GIT_COMMIT"
else
printf "$BASE_VERSION+gitUNKNOWN"
fi