From 25bd327ad06d0497e9888ebc7c4bbbd6cab11f12 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 27 May 2013 22:54:50 -0600 Subject: fix a bug in conf.sh (from the get_files->list_files switch), add unit test --- src/lib/conf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/conf.sh b/src/lib/conf.sh index 8e8610e..07780ee 100644 --- a/src/lib/conf.sh +++ b/src/lib/conf.sh @@ -107,7 +107,7 @@ get_conf_makepkg() ( set_conf_makepkg() { local key=$1 local val=$2 - for file in $(list_files makepkg.conf|tac); do + for file in $(list_files makepkg|tac); do if [[ -w $file ]]; then sed -i "/^\s*$key=/d" "$file" echo "$key='$val'" >> "$file" -- cgit v1.2.2