summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/version.sh b/scripts/version.sh
index 2de4c21..03fb3aa 100755
--- a/scripts/version.sh
+++ b/scripts/version.sh
@@ -5,7 +5,7 @@ GIT_DIR="${SCRIPT_DIR}/../.git"
if test -d "${GIT_DIR}" ; then
if type git >/dev/null 2>&1 ; then
- gitstr=$(git describe --match '[0-9]*.[0-9]*.[0-9]*' 2>/dev/null)
+ gitstr=$(git describe --match '[0-9]*.[0-9]*.*' 2>/dev/null)
if test "x$?" != x0 ; then
sed 's/$/-git/' < VERSION
else