diff options
author | George Hazan <ghazan@miranda.im> | 2018-10-05 13:40:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-10-05 13:40:22 +0300 |
commit | e2cbbf9a8aa8863fa962676231de99a72805dec4 (patch) | |
tree | b8030c38c04d389c36967d92033b44e027766d0c /tools | |
parent | f364fc14fbc17dcfad7690a4af40300eb7162e98 (diff) |
minor code cleaning for fixme.cmd
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build_scripts/fixme.cmd | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/build_scripts/fixme.cmd b/tools/build_scripts/fixme.cmd index 2c57e9f436..33f07dfe87 100644 --- a/tools/build_scripts/fixme.cmd +++ b/tools/build_scripts/fixme.cmd @@ -1,4 +1,4 @@ -@echo on +@echo off set ProfileDir=%~dp0Profiles @@ -9,14 +9,11 @@ for /F "tokens=1,2 delims== " %%a in ('findstr "ProfileDir=" mirandaboot.ini') d echo Using profile directory %ProfileDir% if "%1" == "" ( - set /A ProfileCount=0 - - pushd %ProfileDir% + pushd "%ProfileDir%" for /D %%i in (*) do ( if exist "%ProfileDir%\%%i\%%i.dat" ( set ProfileName=%%i - set /A ProfileCount=%ProfileCount%+1 ) ) |