aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index 98fb6f8..40e9f1f 100755
--- a/kerl
+++ b/kerl
@@ -375,7 +375,7 @@ do_git_build()
get_otp_version()
{
- echo $1 | sed $SED_OPT -e 's/R?([0-9]{1,2})[.AB]?[-.0-9rc]*(_[a-zA-Z0-9]*)?/\1/'
+ echo $1 | sed $SED_OPT -e 's/R?([0-9]{1,2}).+/\1/'
}
get_perl_version()