Skip to content

Path separator in MODELICAPATH on Windows issue #609

@marcus-aberg

Description

@marcus-aberg

https://github.com/lbl-srg/BuildingsPy/blob/1d16ce6650d46202cd62ca8829e4a2be62f00d7b/buildingspy/development/regressiontest.py#L55C1-L58C37

I think this line causes problem when trying to edit the MODELICAPATH on Windows, where the separator is ";" rather than ":".

I think the line should instead be:

env['MODELICAPATH'] = os.pathsep.join([worDir, os.environ['MODELICAPATH']])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions