Ticket #191: smalltalk_fix_1_of_1_rev_f86707f01834_version_1_7_1__Code_cleanup_and_adding_manual_switch_detection_which_was_removed_by_mistake.patch

File smalltalk_fix_1_of_1_rev_f86707f01834_version_1_7_1__Code_cleanup_and_adding_manual_switch_detection_which_was_removed_by_mistake.patch, 1.9 KB (added by patrik.svestka@…, 6 years ago)

minor launcher fixes

  • smalltalk.bat

    # 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  
    5353:: Versions =
    5454:: ==========
    5555:: This script
    56 SET "batch_script_version=1.7.0"
     56SET "batch_script_version=1.7.1"
    5757:: Smalltalk/X
    5858SET "stx_version_default=6.2.6"
    5959:: Do not change following line, $STX_VERSION_DEFAULT serves
     
    371371:: Checking variable and logic consistency                                                   *
    372372:: *******************************************************************************************
    373373
     374:: ======================
     375:: Detect manual switch =
     376:: ======================
     377IF NOT "%~1"=="" (SET "stx_manual_switch_detected=TRUE")
     378
    374379:: ==============================================
    375380:: Checking the PowerShell file (.ps1) presence =
    376381:: ==============================================
     
    617622    )
    618623)
    619624
     625
    620626:: ============================================================================================
    621627:: Pair variables (work together) stx.__binary.record_log_file and stx.__binary.append_to_log =
    622628:: ============================================================================================
     
    10301036    FOR /F "tokens=1 delims==" %%V IN ('SET stx. 2^>NUL') DO (
    10311037        SET "%%V="
    10321038    )
    1033    
    1034     call :cleanupColorPrint
     1039
     1040    REM call :cleanupColorPrint
    10351041    REM Deallocate variables
    10361042    ENDLOCAL
    10371043    EXIT /B 0