summaryrefslogtreecommitdiffstats
path: root/etc/Makefile.am
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2011-04-21 15:59:07 +0200
committerDan McGee <dan@archlinux.org>2011-04-21 19:10:31 +0200
commit908e9f41ed19685a7442acf629220e20b7c003a2 (patch)
treea2e1f387bf94562692ef0c3eb70249b0f83c5a61 /etc/Makefile.am
parentfdbcc9847d7e13b96328adb5f34932eea7ca6ba9 (diff)
downloadpacman-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 'etc/Makefile.am')
0 files changed, 0 insertions, 0 deletions