Skip to content
Browse files
Fix ERL_TOP calculation for Windows SDK shell
  • Loading branch information
wohali committed Jun 16, 2016
1 parent ff1f945 commit 5e4553414a94811ee1ab5f8ee353fe947ae44cb0
Showing 1 changed file with 2 additions and 1 deletion.
@@ -76,7 +76,6 @@ goto shell_select
for /f "usebackq" %%i in (`c:\tools\cygwin\bin\cygpath.exe %WERL_DIR%`) do @set WERL_PATH=%%i
set ERL_TOP=%WERL_PATH%/otp_src_%OTP_REL%

echo Select a shell:
echo w for Windows prompt (default)
@@ -90,13 +89,15 @@ if /i "%choice%"=="p" goto ps_shell
goto :win_shell

set ERL_TOP=%WERL_PATH%/otp_src_%OTP_REL%
title Building in %ERL_TOP% with OTP %OTP_REL% and Erlang v%ERTS_VSN%
c:\tools\cygwin\bin\bash %relax%\bin\
goto eof

set ERL_TOP=%WERL_DIR%\otp_src_%OTP_REL%
echo Type exit to stop relaxing.
title On the couch. Type exit to stop relaxing.
:: Need these things on the path to build/run CouchDB

0 comments on commit 5e45534

Please sign in to comment.