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

Update install.bat #83

Closed gawrondeutsch closed 11 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

Removed 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]

seidewitz commented 11 months ago

We cannot accept external pull requests at this time. However, I have made the suggested update for install.bat in the 2023-11 release, and updated the appropriate development project so it will be included in future releases, too.