diff options
author | Rickard Green <[email protected]> | 2013-12-13 09:58:11 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-12-13 09:58:11 +0100 |
commit | af17798534de376505498b86525ab8618753ebf7 (patch) | |
tree | d8d9c88e3b211bedbb0abad1df8208b81904b998 /otp_build | |
parent | 458e302f61e2de36ebd49c5a5a5b984224bdce94 (diff) | |
parent | 51918f4322b3d30c89ba9b6ca2fbfe5ad6c6b51b (diff) | |
download | otp-af17798534de376505498b86525ab8618753ebf7.tar.gz otp-af17798534de376505498b86525ab8618753ebf7.tar.bz2 otp-af17798534de376505498b86525ab8618753ebf7.zip |
Merge branch 'rickard/otp-17-vsn'
* rickard/otp-17-vsn:
Update versions of OTP, erts, kernel, and stdlib
Diffstat (limited to 'otp_build')
-rwxr-xr-x | otp_build | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. |