소스 검색

Fix rebar.bat path handling

Use "%~f0" to get the full path of rebat.bat to correctly locate the
rebar script. Also put the script name in quotes when passing it to
escript.exe to correctly handle paths with spaces.
pull/3/head
Jan Klötzke 14 년 전
committed by Tuncer Ayaz
부모
커밋
a3a02ef944
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      rebar.bat

+ 2
- 2
rebar.bat 파일 보기

@ -1,4 +1,4 @@
@echo off
setlocal
set rebarscript=%0
escript.exe %rebarscript:.bat=% %*
set rebarscript=%~f0
escript.exe "%rebarscript:.bat=%" %*

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