From cbfabd6073e1ff9d818ba9ebf5bab201bdb48ec2 Mon Sep 17 00:00:00 2001 From: Mike Lazar Date: Tue, 10 Jan 2012 11:15:40 -0600 Subject: [PATCH] Remove generation of ps1 script (no longer needed) --- bootstrap | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/bootstrap b/bootstrap index ba8dda2..e86ad8e 100755 --- a/bootstrap +++ b/bootstrap @@ -132,18 +132,9 @@ vcs_info([{Id, Dir, Cmd} | Rest]) -> end. write_windows_scripts() -> - PowershellScript= - "$basedir = Split-Path -Parent $MyInvocation.MyCommand.Path\r\n" - "$rebar = Join-Path $basedir \"rebar\"\r\n" - "escript.exe $rebar $args\r\n", CmdScript= "@echo off\r\n" "setlocal\r\n" "set rebarscript=%~f0\r\n" "escript.exe \"%rebarscript:.cmd=%\" %*\r\n", - ok = file:write_file("rebar.cmd", CmdScript), - UTF16BE = {utf16, big}, - ok = file:write_file("rebar.ps1", - [unicode:encoding_to_bom(UTF16BE), - unicode:characters_to_binary(PowershellScript, - utf8, UTF16BE)]). + ok = file:write_file("rebar.cmd", CmdScript).