Skip to content

Commit

Permalink
Move setLocal command higher up the file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtyaka committed Oct 30, 2010
1 parent 30584ea commit 6bb95ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/lein.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set LEIN_VERSION=1.4.0-SNAPSHOT

setLocal EnableDelayedExpansion

rem it is possible to set LEIN_JAR variable manually
rem if it's set, don't overwrite it
if "x%LEIN_JAR%" == "x" goto SET_LEIN
Expand Down Expand Up @@ -34,7 +36,6 @@ call :FIND_DIR_CONTAINING_UPWARDS project.clj

if "%DIR_CONTAINING%" neq "" cd "%DIR_CONTAINING%"

setLocal EnableDelayedExpansion
set CP="
for /R ./lib %%a in (*.jar) do (
set CP=!CP!;%%a
Expand Down

0 comments on commit 6bb95ba

Please sign in to comment.