Do not create otp dir

What is the point of creating ${OTP} directory before creating the link to ${ERLROOT}?
Instead of creating link ${OTP} -> ${ERLROOT} (i guess as intended) it will create ${OTP}/otp -> ${ERLROOT} - see ln manual.