Skip to content

Commit

Permalink
fixed the wrong check (due to delayed expansion) in bat-template
Browse files Browse the repository at this point in the history
  • Loading branch information
Артем Тартакынов committed Dec 15, 2014
1 parent bfc7158 commit 16b8c52
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ if "!_TEST_PARAM:~0,2!"=="-D" (
)
)
) else (
if "%1"=="-main" (
set CUSTOM_MAIN_CLASS=%2
if "!_TEST_PARAM!"=="-main" (
call set CUSTOM_MAIN_CLASS=%%2
shift
) else (
set _APP_ARGS=!_APP_ARGS! !_PARAM1!
Expand Down

0 comments on commit 16b8c52

Please sign in to comment.