mirror of
https://github.com/Motion-Project/motion.git
synced 2025-12-23 23:18:21 -05:00
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
9 lines
172 B
Bash
Executable File
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
|