diff options
author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2011-04-21 15:59:07 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-21 19:10:31 +0200 |
commit | 908e9f41ed19685a7442acf629220e20b7c003a2 (patch) | |
tree | a2e1f387bf94562692ef0c3eb70249b0f83c5a61 /m4/lib-link.m4 | |
parent | fdbcc9847d7e13b96328adb5f34932eea7ca6ba9 (diff) | |
download | pacman-908e9f41ed19685a7442acf629220e20b7c003a2.tar.gz pacman-908e9f41ed19685a7442acf629220e20b7c003a2.tar.xz |
pacman-key: improved reading of the configuration file
This commit replaces the find_config() function with the get_from()
function. get_from expects two arguments, the first is the file to
read and the second is the key to look for in the given file.
get_from returns the first matching value for the given key. The
file is expected to be in the format:
key = value
Each of 'key' 'equal sign' 'value' can be surrounded be random
whitespace.
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'm4/lib-link.m4')
0 files changed, 0 insertions, 0 deletions