mirror of
https://github.com/Motion-Project/motion.git
synced 2025-12-24 07:28:21 -05:00
9 lines
161 B
Bash
Executable File
9 lines
161 B
Bash
Executable File
#!/bin/sh
|
|
BASE_VERSION="4.0"
|
|
if [ -d .git ]; then
|
|
GIT_COMMIT=`git show -s --format=%h`
|
|
echo -n "$BASE_VERSION+git$GIT_COMMIT"
|
|
else
|
|
echo -n "$BASE_VERSION"
|
|
fi
|