# HG changeset patch
# User Patrik Svestka <patrik.svestka@gmail.com>
# Date 1524732062 -7200
# Thu Apr 26 10:41:02 2018 +0200
# Branch jv
# Node ID f86707f0183411e6f182dfce7042ce6e8974d1a8
# Parent ea681ef14cba9c9752739fbb824ec80340aeef54
version 1.7.1 Code cleanup and adding manual switch detection which was removed by mistake
- Adding a simple manual_switch_detection variable
- commenting out :cleanupColorPrint call
- removing superfluous code (leftover from last change)
diff -r ea681ef14cba -r f86707f01834 smalltalk.bat
a
|
b
|
|
53 | 53 | :: Versions = |
54 | 54 | :: ========== |
55 | 55 | :: This script |
56 | | SET "batch_script_version=1.7.0" |
| 56 | SET "batch_script_version=1.7.1" |
57 | 57 | :: Smalltalk/X |
58 | 58 | SET "stx_version_default=6.2.6" |
59 | 59 | :: Do not change following line, $STX_VERSION_DEFAULT serves |
… |
… |
|
371 | 371 | :: Checking variable and logic consistency * |
372 | 372 | :: ******************************************************************************************* |
373 | 373 | |
| 374 | :: ====================== |
| 375 | :: Detect manual switch = |
| 376 | :: ====================== |
| 377 | IF NOT "%~1"=="" (SET "stx_manual_switch_detected=TRUE") |
| 378 | |
374 | 379 | :: ============================================== |
375 | 380 | :: Checking the PowerShell file (.ps1) presence = |
376 | 381 | :: ============================================== |
… |
… |
|
617 | 622 | ) |
618 | 623 | ) |
619 | 624 | |
| 625 | |
620 | 626 | :: ============================================================================================ |
621 | 627 | :: Pair variables (work together) stx.__binary.record_log_file and stx.__binary.append_to_log = |
622 | 628 | :: ============================================================================================ |
… |
… |
|
1030 | 1036 | FOR /F "tokens=1 delims==" %%V IN ('SET stx. 2^>NUL') DO ( |
1031 | 1037 | SET "%%V=" |
1032 | 1038 | ) |
1033 | | |
1034 | | call :cleanupColorPrint |
| 1039 | |
| 1040 | REM call :cleanupColorPrint |
1035 | 1041 | REM Deallocate variables |
1036 | 1042 | ENDLOCAL |
1037 | 1043 | EXIT /B 0 |