aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-06-03 11:44:32 +0200
committerLukas Larsson <[email protected]>2014-06-03 11:44:32 +0200
commit656477cae3abc2b73b1bc31d3d758c5d353b18b2 (patch)
tree11339aa69a7e6d8b02220a316a4fe1140e0ffea4 /erts
parentcf36f119c7e06b908bf70a18f491cb3e959166fe (diff)
parenta4dac83e01f7f74ccad5ee1f81bdb12808e2d9e0 (diff)
downloadotp-656477cae3abc2b73b1bc31d3d758c5d353b18b2.tar.gz
otp-656477cae3abc2b73b1bc31d3d758c5d353b18b2.tar.bz2
otp-656477cae3abc2b73b1bc31d3d758c5d353b18b2.zip
Merge branch 'maint'
* maint: erts: Fix git version script
Diffstat (limited to 'erts')
-rwxr-xr-xerts/emulator/utils/gen_git_version6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/utils/gen_git_version b/erts/emulator/utils/gen_git_version
index ef06a4b8e2..9faf015b62 100755
--- a/erts/emulator/utils/gen_git_version
+++ b/erts/emulator/utils/gen_git_version
@@ -5,9 +5,9 @@ OUTPUT_FILE=$1
if command -v git 2>&1 >/dev/null &&
test -d $ERL_TOP/.git -o -f $ERL_TOP/.git
then
- VSN=`git describe --match "OTP_R[0-9][0-9][A-B]*" HEAD`
+ VSN=`git describe --match "OTP-[0-9]*" HEAD`
case "$VSN" in
- OTP_R*-g*)
+ OTP-*-g*)
VSN=`echo $VSN | sed -e 's/.*-g\\(.*\\)/\\1/g'` ;;
*) VSN="na" ;;
esac
@@ -36,4 +36,4 @@ then
fi
exit 0
fi
-exit 1 \ No newline at end of file
+exit 1