Skip to content

Commit

Permalink
Clean up table base fetching files
Browse files Browse the repository at this point in the history
  • Loading branch information
bsamseth committed Aug 21, 2024
1 parent 8cba081 commit d5159b4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 321 deletions.
310 changes: 0 additions & 310 deletions ci/fetch-tablebase.sh

This file was deleted.

9 changes: 1 addition & 8 deletions syzygy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,4 @@ cd Goldfish/syzygy
bash download.sh # Will take a little while.
```

Verify download:

```bash
md5sum -c 5-man-checksums.md5 | grep OK | wc -l
cat links.txt | wc -l
```

If both commands output the same number (290), then all is OK.
If there is no error at the end, then all is OK.
14 changes: 11 additions & 3 deletions syzygy/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

set -e

for link in $(cat links.txt); do
wget $link
done
while IFS= read -r link
do
echo -n "Downloading $link"
if ! test -f "$(basename "$link")"; then
wget "$link"
fi
echo " -> OK"
done < links.txt


md5sum -c 5-man-checksums.md5

0 comments on commit d5159b4

Please sign in to comment.