Przeglądaj źródła

Simplify windows script

pull/2262/head
Regan Heath 5 lat temu
rodzic
commit
58a40f156b
1 zmienionych plików z 1 dodań i 3 usunięć
  1. +1
    -3
      src/rebar_prv_escriptize.erl

+ 1
- 3
src/rebar_prv_escriptize.erl Wyświetl plik

@ -276,7 +276,5 @@ write_windows_script(Target) ->
CmdPath = unicode:characters_to_list(Target) ++ ".cmd",
CmdScript=
"@echo off\r\n"
"setlocal\r\n"
"set rebarscript=%~f0\r\n"
"escript.exe \"%rebarscript:.cmd=%\" %*\r\n",
"escript.exe \"%~dpn0\" %*\r\n",
ok = file:write_file(CmdPath, CmdScript).

Ładowanie…
Anuluj
Zapisz