diff --git a/scripts/sync-ebooks b/scripts/sync-ebooks index 9d90ec6a..d01f21c0 100755 --- a/scripts/sync-ebooks +++ b/scripts/sync-ebooks @@ -131,8 +131,8 @@ for item in ./*/; do printf "Updating %s ... " "${item}" fi - # if it's not a repository directory, skip it - git -C "${item}" rev-parse > /dev/null 2>&1 || continue + # if it's not a repository directory, skip it + git -C "${item}" rev-parse > /dev/null 2>&1 || continue # this works whether the repository is bare or a working directory if [ "${verbosity}" -lt 2 ]; then