summaryrefslogtreecommitdiffstats
path: root/scripts/library/output_format.sh
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-07-09 04:40:25 +0200
committerAllan McRae <allan@archlinux.org>2011-07-19 02:27:54 +0200
commitdf7b390514efa0ae6b84e8404806dee63d3524ad (patch)
treefd5492f555226623cdd901892571668c73788d76 /scripts/library/output_format.sh
parent0e85c4989b7a7a20978ba0dcc7b56f0f1853b974 (diff)
downloadpacman-df7b390514efa0ae6b84e8404806dee63d3524ad.tar.gz
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 'scripts/library/output_format.sh')
0 files changed, 0 insertions, 0 deletions