diff options
author | Dave Reisner <d@falconindy.com> | 2011-07-08 22:40:25 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-07-19 10:27:54 +1000 |
commit | df7b390514efa0ae6b84e8404806dee63d3524ad (patch) | |
tree | fd5492f555226623cdd901892571668c73788d76 /install-sh | |
parent | 0e85c4989b7a7a20978ba0dcc7b56f0f1853b974 (diff) | |
download | pacman-df7b390514efa0ae6b84e8404806dee63d3524ad.tar.xz |
pacman-key: refactor get_from
This function had a variety of pitfalls, including the inability to
successfully find a key=value pair where no whitespace surrounded the
equals sign. Make it more robust by splitting the line on the equals
itself, and performing whitespace trimming on the resulting key/value
pair.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions