leiningen/bin
basicsensei a1bc1f56cc move setlocal first to prevent leaking it to parent shell in win7/xp
However on win7 though (but not on winxp) all set variables inside
script will be leaked if the script fails within another setlocal ie. 
set JAVA_CMD="ja"va"
lein
set
Will show LEIN_HOME, LEIN_JAR and ORIGINAL_PWD remained set.

The following .bat will prove the point:
@echo on
setLocal EnableExtensions EnableDelayedExpansion
set xxx="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

rem comment the following line to prevent xxx to leak into parent shell:
setlocal
rem the below will make script fail(just type "set" to see it leaked):
if x == '

echo not reached!
2012-09-13 09:48:29 +02:00
..
lein Don't use fast trampolines outside a project. Fixes #777. 2012-09-11 10:30:16 -07:00
lein-pkg Set CLASSPATH from scratch rather than checking existing value. 2012-05-07 11:24:52 -07:00
lein.bat move setlocal first to prevent leaking it to parent shell in win7/xp 2012-09-13 09:48:29 +02:00
release Back to 2.0.0-SNAPSHOT. Next release will be RC1, for reals. 2012-08-25 18:41:32 -07:00