Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit ff5581c44a9b12504c14e9dc092b305d0eeddd8d 1 parent 1da8b9c
@juranki juranki authored dizzyd committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  rebar.bat
View
3  rebar.bat
@@ -1,2 +1,3 @@
@echo off
-escript.exe rebar %*
+set rebarscript=%0
+escript.exe %rebarscript:.bat=% %*
Please sign in to comment.
Something went wrong with that request. Please try again.