Skip to content

Commit

Permalink
Fixed downloading search.tsv via curl if documend moved.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMikita committed Jun 26, 2017
1 parent 5dd955b commit c9b0e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx-reindex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ ! "$DOMAINS" = "" ]; then
if [ ! -f /data/$domain/search.tsv ]; then
echo "Downloading $domain"
mkdir -p /data/$domain/
curl -s http://$domain/search.tsv -o /data/$domain/search.tsv
curl -Ls http://$domain/search.tsv -o /data/$domain/search.tsv
REINDEX=1
fi
done
Expand Down

0 comments on commit c9b0e5f

Please sign in to comment.