aboutsummaryrefslogtreecommitdiffstats
path: root/otp_build
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-12-10 09:52:50 +0100
committerRickard Green <[email protected]>2013-12-10 12:27:15 +0100
commit51918f4322b3d30c89ba9b6ca2fbfe5ad6c6b51b (patch)
tree4173e9a8ed6c3e97327c75ec6d432439abf81abd /otp_build
parent6d22d78204ca8bc8ed4beb92f6021ff3ba93a882 (diff)
downloadotp-51918f4322b3d30c89ba9b6ca2fbfe5ad6c6b51b.tar.gz
otp-51918f4322b3d30c89ba9b6ca2fbfe5ad6c6b51b.tar.bz2
otp-51918f4322b3d30c89ba9b6ca2fbfe5ad6c6b51b.zip
Update versions of OTP, erts, kernel, and stdlib
Update versions of OTP, erts, kernel, and stdlib to comply with the new version scheme decided by the OTP technical board.
Diffstat (limited to 'otp_build')
-rwxr-xr-xotp_build8
1 files changed, 4 insertions, 4 deletions
diff --git a/otp_build b/otp_build
index 093fde8034..ca3ffa21a8 100755
--- a/otp_build
+++ b/otp_build
@@ -1308,12 +1308,12 @@ cd $ERL_TOP
determine_version_controller
-# Unset ERL_FLAGS and ERL_<Release>_FLAGS during bootstrap to
+# Unset ERL_FLAGS and ERL_OTP<Major-VSN>_FLAGS during bootstrap to
# prevent potential problems
-sys_vsn=`awk '/SYSTEM_VSN = / {print $3}' < erts/vsn.mk`
-sys_erl_flags="ERL_${sys_vsn}_FLAGS"
+otp_major_vsn=`cat erts/vsn.mk | grep SYSTEM_VSN | sed "s|SYSTEM_VSN[^=]*=[^0-9]*\([0-9]*\).*|\1|"`
+erl_otp_flags="ERL_OTP${otp_major_vsn}_FLAGS"
unset ERL_FLAGS
-unset ${sys_erl_flags}
+unset ${erl_otp_flags}
# Target first guess, won't necessarily hold, may be changed for
# certain parameters.