aboutsummaryrefslogtreecommitdiffstats
path: root/otp_build
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-01-09 12:50:28 +0100
committerRickard Green <[email protected]>2014-01-09 12:50:28 +0100
commit47979206defa9429458e419b691138ab1b519833 (patch)
tree8f165f0939c99be15428ce9ffc06977846095b54 /otp_build
parente086297a8638a9f57983fd707f6c75e3d4b6edf3 (diff)
downloadotp-47979206defa9429458e419b691138ab1b519833.tar.gz
otp-47979206defa9429458e419b691138ab1b519833.tar.bz2
otp-47979206defa9429458e419b691138ab1b519833.zip
Fix issues with new versioning
Diffstat (limited to 'otp_build')
-rwxr-xr-xotp_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/otp_build b/otp_build
index ca3ffa21a8..945027f0ed 100755
--- a/otp_build
+++ b/otp_build
@@ -1310,7 +1310,7 @@ determine_version_controller
# Unset ERL_FLAGS and ERL_OTP<Major-VSN>_FLAGS during bootstrap to
# prevent potential problems
-otp_major_vsn=`cat erts/vsn.mk | grep SYSTEM_VSN | sed "s|SYSTEM_VSN[^=]*=[^0-9]*\([0-9]*\).*|\1|"`
+otp_major_vsn=`cat erts/vsn.mk | grep SYSTEM_VSN | sed "s|SYSTEM_VSN[^=]*=[^0-9]*\([0-9]*\).*|\1|g"`
erl_otp_flags="ERL_OTP${otp_major_vsn}_FLAGS"
unset ERL_FLAGS
unset ${erl_otp_flags}