Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#77867 - [devtools-git-poc] wrapper missing quotes breaks commit messages with spaces

Attached to Project: Community Packages
Opened by Felix Yan (felixonmars) - Wednesday, 15 March 2023, 18:15 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 14 April 2023, 08:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



Currently the wrapper is calling `/usr/local/share/devtools-git-poc/bin/pkgctl $@` without quotes. This breaks when, for example, the commit message contains a space like `--message "test rebuild"`:

/usr/local/share/devtools-git-poc//lib/build/ line 247: pushd: rebuild: No such file or directory

Adding quotes to make it `/usr/local/share/devtools-git-poc/bin/pkgctl "$@"` fixes this.
This task depends upon

Closed by  Morten Linderud (Foxboron)
Friday, 14 April 2023, 08:35 GMT
Reason for closing:  Fixed