X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=indexmeta.sh;h=e37e5da6c3696cffd979639798a785dff84ff69a;hb=98ad1233c5a8f16b73b622b0025837b99bff1f3b;hp=43e360d2bfcfab9f4cc7ea2016b971f981239227;hpb=f0ba12b311bf4442362343ef3f9e597d046f1803;p=serve0 diff --git a/indexmeta.sh b/indexmeta.sh index 43e360d..e37e5da 100644 --- a/indexmeta.sh +++ b/indexmeta.sh @@ -83,7 +83,7 @@ meta_dir(){ 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" @@ -93,7 +93,7 @@ meta_dir(){ 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