user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 68a44bcbb42fca7f2d6b00d3783abd2c9ecffeb4
parent 1f15e287fbae322a84cf675e5a50a94375a56f48
Author: claustromaniac <20734810+claustromaniac@users.noreply.github.com>
Date:   Tue, 26 Dec 2017 17:29:11 +0000

cosmetic fix

for calls to :message before the script begins logging (with -log)
Diffstat:
Mupdater.bat | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/updater.bat b/updater.bat @@ -119,6 +119,7 @@ IF DEFINED _log ( IF DEFINED _logp (START user.js-update-log.txt) EXIT /B :log + SET _log=2 ECHO:################################################################## CALL :message "%date%, %time%" ) @@ -190,9 +191,9 @@ EXIT /B REM ########### Message Function ########### :message SETLOCAL DisableDelayedExpansion -IF NOT DEFINED _log (ECHO:) +IF NOT "2"=="%_log%" (ECHO:) ECHO: %~1 -IF NOT DEFINED _log (ECHO:) +IF NOT "2"=="%_log%" (ECHO:) ENDLOCAL GOTO :EOF REM ############ Merge function ############