You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nal-mbpr:erlbrew nal$ erlbrew install R15B03-1
Downloading Erlang R15B03-1
######################################################################## 100.0%
Tarball has correct MD5 checksum
Unpacking Erlang R15B03-1
/Users/nal/bin/erlbrew: line 104: cd: otp_src_R15B03-1: No such file or directory
It appears that this is because otp_src_R15B03-1.tar.gz expands to otp_src_R15B03 rather than the expected otp_src_R15B03-1:
nal-mbpr:erlbrew nal$ ls .build/current
erlbrew.log otp_src_R15B03 otp_src_R15B03-1.tar.g
I worked around this by doing this from the erlbrew directory:
## clear all work folders
rm -rf .build/work.*## in another terminal, execute 'erlbrew install R15B03-1'## then do this immediately:cd /build/work.*; ln -s otp_src_R15B03 otp_src_R15B03-1
cd ../..
I am not sure what the sane thing to do about this is.
The text was updated successfully, but these errors were encountered:
I think we can solve this with a simple bash function which special cases R15B03-1 so that its build directory name matches the name in the tar ball. And if this comes up again in the future, we could reuse this "solution."
When installing R15B03-1:
nal-mbpr:erlbrew nal$ erlbrew install R15B03-1 Downloading Erlang R15B03-1 ######################################################################## 100.0% Tarball has correct MD5 checksum Unpacking Erlang R15B03-1 /Users/nal/bin/erlbrew: line 104: cd: otp_src_R15B03-1: No such file or directory
It appears that this is because
otp_src_R15B03-1.tar.gz
expands tootp_src_R15B03
rather than the expectedotp_src_R15B03-1
:I worked around this by doing this from the erlbrew directory:
I am not sure what the sane thing to do about this is.
The text was updated successfully, but these errors were encountered: