https://bugs.winehq.org/show_bug.cgi?id=55505
Bug ID: 55505 Summary: Vitis 2020.1 needs support for "goto :EOF" command in batch file Product: Wine Version: 8.14 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Steps to reproduce:
1. Run `tar -xvf Xilinx_Unified_2020.1_0602_1208.tar.gz`
2. Run `wine Xilinx_Unified_2020.1_0602_1208/xsetup.exe`
3. When the installer complains that it can't connect to the internet, click Ignore
4. Run `wine 'C:\Xilinx\Vitis\2020.1\bin\vitis.bat'`
The script prints "Syntax error" to the terminal twice and hangs without opening Vitis. The first unrecognized command is "goto :EOF".
Registration is required to download Vitis.
$ sha256sum Xilinx_Unified_2020.1_0602_1208.tar.gz a9e0f81a61eca260c4453ab93a8d17eac31956dd54d0d5fd74dc8b4f2727e3eb
https://bugs.winehq.org/show_bug.cgi?id=55505
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://www.xilinx.com/supp | |ort/download.html
https://bugs.winehq.org/show_bug.cgi?id=55505
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Vitis 2020.1 needs support |Vitis 2020.1 needs support |for "goto :EOF" command in |for `if exist ""` in batch |batch file |file
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- I was mistaken, the first problematic line is in fact 'if exist "!_TMP_MYXILINX!" ('. _TMP_MYXILINX is an empty string, so that line expands to 'if exist "" (', which evaluates to false on Windows, but is a syntax error on Wine.
https://bugs.winehq.org/show_bug.cgi?id=55505
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=55528 Status|NEW |RESOLVED Fixed by SHA1| |859d5e68ddec5156f49efb3c112 | |6db02691416af Resolution|--- |FIXED
--- Comment #2 from Alex Henrie alexhenrie24@gmail.com --- Fixed by https://gitlab.winehq.org/wine/wine/-/commit/859d5e68ddec5156f49efb3c1126db0...
Next issue is Bug 55528
https://bugs.winehq.org/show_bug.cgi?id=55505
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.16.