Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Fix build script creating invalid index
Browse files Browse the repository at this point in the history
  • Loading branch information
Maista6969 committed Jan 15, 2024
1 parent d106a12 commit 6a70594
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build_site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@ buildScraper()
echo "" >> "$outdir"/index.yml
}

# find all yml files in ./scrapers - these are packages individually
for f in ./scrapers/*.yml; do
buildScraper "$f"
done

# handle scrapers, there are no XPath scrapers in this repo
find ./scrapers/ -mindepth 2 -name *.yml -print0 | while read -d $'\0' f; do
buildScraper "$f"
done
Expand Down

0 comments on commit 6a70594

Please sign in to comment.