소스 검색

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

불러오는 중...
취소
저장