FS#60816 - [dotnet-runtime] Can't add file arguments containing spaces
Attached to Project:
Community Packages
Opened by morguldir (morguldir) - Thursday, 15 November 2018, 10:53 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 17 January 2019, 22:26 GMT
Opened by morguldir (morguldir) - Thursday, 15 November 2018, 10:53 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 17 January 2019, 22:26 GMT
|
Details
Description:
The new script does not quote the arguments so you can't have filenames containing spaces as arguments. https://git.archlinux.org/svntogit/community.git/tree/trunk/dotnet.sh?h=packages/dotnet-core Change $@ to "$@" Additional info: * 2.1.6+500-1 Steps to reproduce: Run a dotnet program with a filename containing spaces |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Thursday, 17 January 2019, 22:26 GMT
Reason for closing: Fixed
Additional comments about closing: 2.2.1+102-1
Thursday, 17 January 2019, 22:26 GMT
Reason for closing: Fixed
Additional comments about closing: 2.2.1+102-1
Comment by
Maxime Gauduin (Alucryd) - Tuesday,
11 December 2018, 07:13 GMT
Comment by
Nguyễn Chính Hữu (huupoke12) -
Saturday, 05 January 2019, 01:26 GMT
Comment by
Maxime Gauduin (Alucryd) - Sunday,
06 January 2019, 17:06 GMT
Spaces are evil, but you're right. I'll update the script with the
next version, thanks for the heads up!
How can I fix this bug locally on my PC without waiting for the
next release?
You need to double quot $@ in the dotnet script, as described in
the bug report.