diff options
author | Ethan Sommer <e5ten.arch@gmail.com> | 2019-11-05 05:36:02 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-11-05 05:47:15 +0100 |
commit | 1bfae7d14a7bdad777e82912c5c6883deb11aee5 (patch) | |
tree | a41965597b631f363d36c943cceb4694f151469d /scripts/makepkg-template.pl.in | |
parent | 091b244d0ffa281ba9968606184d709e59c2a2d5 (diff) | |
download | pacman-1bfae7d14a7bdad777e82912c5c6883deb11aee5.tar.gz pacman-1bfae7d14a7bdad777e82912c5c6883deb11aee5.tar.xz |
libmakepkg: fix empty arguments in parseopts
Previously parseopts checked if there was an argument by checking
that the string was non-empty, resulting in empty arguments being
incorrectly considered non-existent. This change makes parseopts check
if arguments exist at all, rather than checking that they are non-empty
Signed-off-by: Ethan Sommer <e5ten.arch@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg-template.pl.in')
0 files changed, 0 insertions, 0 deletions