summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rebar.bat3
1 files changed, 2 insertions, 1 deletions
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=% %*