Allan McRae pushed to branch master at Pacman / Pacman


Commits:
0571ee82 by Christian Heusel at 2024-03-14T01:20:53+00:00
repo-add: fix parseopts missing arg to -k/--key

The current code treats -k/--key as a binary option which later makes it
fail parsing the argument as then the end of arguments '--' is treated
as the GPGKEY. We fix this by adding the appropriate specifier to the
long and shortopt.

Closes https://gitlab.archlinux.org/pacman/pacman/-/issues/105

Fixes: 4f43ce3e ("repo-add: use parseopts from libmakepkg")
Signed-off-by: Christian Heusel <christ...@heusel.eu>

- - - - -


1 changed file:

- scripts/repo-add.sh.in


View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/commit/0571ee82bff0edbd5ffac2228d4e6ac510b9008e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/commit/0571ee82bff0edbd5ffac2228d4e6ac510b9008e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to