Systems-Modeling / SysML-v2-Release

The latest incremental release of SysML v2. Start here.
GNU Lesser General Public License v3.0
457 stars 64 forks source link

Syntax Error in install.bat: set /A SYSML_VERSION="0.36.0" #82

Closed gawrondeutsch closed 10 months ago

gawrondeutsch commented 1 year ago

According to the windows command shell, the flag "/A" is for numerical expressions: "The /A switch specifies that the string to the right of the equal sign is a numerical expression that is evaluated."

The issue here is, that "0.36.0" is not a valid numerical expression. This can be tested with the following command: set /A "x=0.36.0" & echo x=%x%. The expected output would be x=0.36.0. But due to the flag /A, set returns:

Missing operator.
x=0

Please remove the flag and change the line in install.bat to: set SYSML_VERSION="0.36.0"

Tested with: Microsoft Windows [Version 10.0.19045.3570]

Thank You!

gawrondeutsch commented 1 year ago

I have added a pull request: https://github.com/Systems-Modeling/SysML-v2-Release/pull/83

seidewitz commented 10 months ago

This has been fixed in Release 2023-11.