From 21b7083e5c04e39c94255863af6d3e5daa1b4c04 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 28 Jul 2013 20:27:56 -0400 Subject: db_foreach_source(): Fix callback arguments. --- diff --git a/lib/db.sh b/lib/db.sh index 9e0533c..449e14c 100644 --- a/lib/db.sh +++ b/lib/db.sh @@ -136,6 +136,8 @@ db_foreach_source() local cb="${3}" local dir= + shift 3 + dir="${opt_base_dir}/feeds/${chan}/${dist}/.db" # For each hash: for dir in "${dir}/"*/; do -- cgit v0.9.1