summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions b/functions
index eebf3a4..e116005 100644
--- a/functions
+++ b/functions
@@ -500,6 +500,8 @@ parse_hook() {
}
find_in_dirs() {
+ local dir
+
for dir in "${@:2}"; do
if [[ -e $dir/$1 ]]; then
printf '%s' "$dir/$1"