summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-27 22:54:50 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-27 22:54:50 -0600
commit25bd327ad06d0497e9888ebc7c4bbbd6cab11f12 (patch)
treeaa5da759fee295680d6cd208b1f51261e5ae75f2 /src/lib
parent47fb685c2d6df5995134e9b8d322f667058e505e (diff)
fix a bug in conf.sh (from the get_files->list_files switch), add unit testtesting-20130528
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/conf.sh2
1 files changed, 1 insertions, 1 deletions
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"