@ characters before elses were causing the script to not run

This commit is contained in:
Mistagrooves 2011-09-26 10:37:23 -04:00
parent 4ddfb3d235
commit 8549db72d4

View file

@ -22,13 +22,13 @@
@if exist %releases_dir%\%release_version%\sys.config ( @if exist %releases_dir%\%release_version%\sys.config (
@set app_config=%releases_dir%\%release_version%\sys.config @set app_config=%releases_dir%\%release_version%\sys.config
) @else ( ) else (
@set app_config=%node_root%\etc\app.config @set app_config=%node_root%\etc\app.config
) )
@if exist %releases_dir%\%release_version%\vm.args ( @if exist %releases_dir%\%release_version%\vm.args (
@set vm_args=%releases_dir%\%release_version%\vm.args @set vm_args=%releases_dir%\%release_version%\vm.args
) @else ( ) else (
@set vm_args=%node_root%\etc\vm.args @set vm_args=%node_root%\etc\vm.args
) )