From 85593d5858ff94fed89f6794e1bfbcca00a92c51 Mon Sep 17 00:00:00 2001 From: vr8ce Date: Sat, 1 Aug 2020 00:33:39 -0500 Subject: [PATCH] Only look for directories in the update section --- scripts/sync-ebooks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-ebooks b/scripts/sync-ebooks index 31c43bbb..b72d5215 100755 --- a/scripts/sync-ebooks +++ b/scripts/sync-ebooks @@ -124,7 +124,7 @@ if [ "${verbosity}" -gt 0 ]; then printf "Updating local repositories ... \n" fi -for item in ./*; do +for item in ./*/; do [ -e "${item}" ] || break if [ "${verbosity}" -gt 0 ]; then