Improve rebar.bat

Add support for invoking rebar from other than current directory.
For example: ..\rebar create-node nodeid=mysample

requires rebar.bar and rebar (escript) to be in the same directory.
This commit is contained in:
Juhani Rankimies 2010-10-26 07:12:26 +03:00 committed by Dave Smith
parent 1da8b9ca93
commit ff5581c44a

View file

@ -1,2 +1,3 @@
@echo off
escript.exe rebar %*
set rebarscript=%0
escript.exe %rebarscript:.bat=% %*