aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Allen <[email protected]>2016-05-17 11:06:43 -0500
committerMark Allen <[email protected]>2016-05-17 11:06:43 -0500
commitb398b491f0a9a5afe650df3bf0b7e0629c7e5d57 (patch)
tree9871e9c79416d8c62ff9eaa79c29b1ff03f00bfa
parentd716aa5aee5f24098b0e13954d7bcc1e96e65f6f (diff)
downloadkerl-b398b491f0a9a5afe650df3bf0b7e0629c7e5d57.tar.gz
kerl-b398b491f0a9a5afe650df3bf0b7e0629c7e5d57.tar.bz2
kerl-b398b491f0a9a5afe650df3bf0b7e0629c7e5d57.zip
Fix get_otp_version() regex
-rwxr-xr-xkerl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerl b/kerl
index 58cc66e..6ca9d38 100755
--- a/kerl
+++ b/kerl
@@ -367,7 +367,7 @@ do_git_build()
get_otp_version()
{
- echo $1 | sed $SED_OPT -e 's/R?([0-9]{1,2})[.AB]?[0-9-]*/\1/'
+ echo $1 | sed $SED_OPT -e 's/R?([0-9]{1,2})[.AB]?[-.0-9]*/\1/'
}
show_logfile()