diff --git a/rebar.bat b/rebar.bat index 6b97b00..5ac634b 100644 --- a/rebar.bat +++ b/rebar.bat @@ -1,2 +1,3 @@ @echo off -escript.exe rebar %* +set rebarscript=%0 +escript.exe %rebarscript:.bat=% %*