• system.temp_path doesn't return override directory

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Saturday, September 23, 2023 01:24:37
    open https://gitlab.synchro.net/main/sbbs/-/issues/643

    According to the wiki

    ~~~
    TempDirectory
    Default: ctrl/../temp

    Override the default system “temp” directory (optional). If you do override this, do NOT use the system-wide temp dir (e.g.: /tmp or windows\temp),
    ~~~

    In sbbs.ini I have

    ~~~
    # grep TempDirectory /sbbs/ctrl/sbbs.ini
    TempDirectory = /sbbs/tmp/
    ~~~

    However:

    ~~~
    Time Used: 0:14:26 -> Main Menu -> ;
    eval system.temp_path
    Result (string): /tmp/
    ~~~

    I feel this should return /sbbs/tmp since that is where I want sbbs to write temporary files. There seems no other way to access this TempDirectory assigned path.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Saturday, September 23, 2023 14:06:00
    https://gitlab.synchro.net/main/sbbs/-/issues/643#note_4240

    This is intentional. Use `system.temp_dir` instead.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Saturday, September 23, 2023 14:06:00
    close https://gitlab.synchro.net/main/sbbs/-/issues/643
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)