if [ -d "$dir/.index" -a \! -f "$meta" ] && LOCK "$meta"; then
touch "$meta" # preliminary touch to prevent concurrent generators
- find "$dir" -type f -mindepth 1 -maxdepth 1 \
+ find -L "$dir" -type f -mindepth 1 -maxdepth 1 \
| grep -aE "$file_pattern" \
| while read -r v; do
meta_line "$v"
RELEASE "$meta"
elif [ -d "$dir/.index" -a "$dir" -nt "$metat" ] && LOCK "$meta"; then
touch "$meta"
- find "$dir" -type f -newer "$metat" \
+ find -L "$dir" -type f -newer "$metat" \
-mindepth 1 -maxdepth 1 \
| grep -aE "$file_pattern" \
| while read -r v; do