mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
a3a02ef944
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.
4 lines
77 B
Batchfile
4 lines
77 B
Batchfile
@echo off
|
|
setlocal
|
|
set rebarscript=%~f0
|
|
escript.exe "%rebarscript:.bat=%" %*
|