Fix typos in generated cmd script in bootstrap

Fixes basho/rebar#188
This commit is contained in:
Mike Lazar 2012-01-10 11:00:25 -06:00 committed by Tuncer Ayaz
parent af51ad4ef6
commit fa3dab30ae

View file

@ -140,7 +140,7 @@ write_windows_scripts() ->
"@echo off\r\n" "@echo off\r\n"
"setlocal\r\n" "setlocal\r\n"
"set rebarscript=%~f0\r\n" "set rebarscript=%~f0\r\n"
"escript.exe \"%rebarscript:.bat=%i\" %*\r\n", "escript.exe \"%rebarscript:.cmd=%\" %*\r\n",
ok = file:write_file("rebar.cmd", CmdScript), ok = file:write_file("rebar.cmd", CmdScript),
UTF16BE = {utf16, big}, UTF16BE = {utf16, big},
ok = file:write_file("rebar.ps1", ok = file:write_file("rebar.ps1",