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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
Comment by Maxime Gauduin (Alucryd) - Tuesday, 11 December 2018, 07:13 GMT
Spaces are evil, but you're right. I'll update the script with the next version, thanks for the heads up!
Comment by Nguyễn Chính Hữu (huupoke12) - Saturday, 05 January 2019, 01:26 GMT
How can I fix this bug locally on my PC without waiting for the next release?
Comment by Maxime Gauduin (Alucryd) - Sunday, 06 January 2019, 17:06 GMT
You need to double quot $@ in the dotnet script, as described in the bug report.

Loading...