https://bugs.winehq.org/show_bug.cgi?id=55402
Bug ID: 55402 Summary: CMD '!var!' not working in 'if' statement Product: Wine Version: 8.0.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: mr.dmitry.sokolov@gmail.com Distribution: ---
The command not working set var=qwe if "!var!"=="" ...
ACTUAL The script (attached) produces wrong output
EXPECTED See the output in .exp file (attached)
https://bugs.winehq.org/show_bug.cgi?id=55402
--- Comment #1 from Dmitry Sokolov mr.dmitry.sokolov@gmail.com --- Created attachment 74962 --> https://bugs.winehq.org/attachment.cgi?id=74962 test_delayed_expansion.cmd
https://bugs.winehq.org/show_bug.cgi?id=55402
--- Comment #2 from Dmitry Sokolov mr.dmitry.sokolov@gmail.com --- Created attachment 74963 --> https://bugs.winehq.org/attachment.cgi?id=74963 test_delayed_expansion.cmd.exp
https://bugs.winehq.org/show_bug.cgi?id=55402
--- Comment #3 from Dmitry Sokolov mr.dmitry.sokolov@gmail.com --- A similar script exists in Visual Studio to init dev env
https://bugs.winehq.org/show_bug.cgi?id=55402
Dmitry Sokolov mr.dmitry.sokolov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|8.0.2 |8.14
https://bugs.winehq.org/show_bug.cgi?id=55402
Dmitry Sokolov mr.dmitry.sokolov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7e4715149a96c19233117944b1d | |cf5db5126c6f9 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Dmitry Sokolov mr.dmitry.sokolov@gmail.com --- Fixed in https://gitlab.winehq.org/wine/wine/-/commit/7e4715149a96c19233117944b1dcf5d...
https://bugs.winehq.org/show_bug.cgi?id=55402
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.15.
https://bugs.winehq.org/show_bug.cgi?id=55402
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |8.0.x