summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuhani Rankimies <juhani@juranki.com>2011-01-12 17:58:10 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-01-12 17:17:34 +0100
commit7b0d970646eb45079d1ba8f4d50996b42b7ddbca (patch)
treee838dbfed4bf408ff7d47c9b403b66e821fa843a
parent5b05e54cda77d6e45fd6d1cc8ea1dabfafa6bcb1 (diff)
Set local scope for env vars in rebar.bat
-rw-r--r--rebar.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/rebar.bat b/rebar.bat
index 5ac634b..547da6b 100644
--- a/rebar.bat
+++ b/rebar.bat
@@ -1,3 +1,4 @@
@echo off
+setlocal
set rebarscript=%0
escript.exe %rebarscript:.bat=% %*