Преглед изворни кода

Simplify windows script

pull/2262/head
Regan Heath пре 5 година
родитељ
комит
58a40f156b
1 измењених фајлова са 1 додато и 3 уклоњено
  1. +1
    -3
      src/rebar_prv_escriptize.erl

+ 1
- 3
src/rebar_prv_escriptize.erl Прегледај датотеку

@ -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).

Loading…
Откажи
Сачувај