IfECF_PATH_UPDATER is defined, let's use it to find ecf_updater executable

This commit is contained in:
Jocelyn Fiat
2012-06-19 02:36:54 -07:00
parent 89110e3568
commit 692ff182ca
3 changed files with 19 additions and 4 deletions

View File

@@ -1,7 +1,10 @@
@echo off
setlocal
set ECF_UPDATER_PATH=
if "%ECF_UPDATER_PATH%" == "" goto LOCAL_ECF_UPDATER
goto start
:LOCAL_ECF_UPDATER
if exist "%~dp0ecf_updater.exe" set ECF_UPDATER_PATH=%~dp0
if "%ECF_UPDATER_PATH%" == "" goto SEARCH_ECF_UPDATER