mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Update benchmarks/scripts/compare.sh
Co-authored-by: Irevoire <tamo@meilisearch.com>
This commit is contained in:
parent
b3c0d43890
commit
57ed96622b
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ file2_local_path="/tmp/$file2"
|
|||
|
||||
if [[ ! -f "$file1_local_path" ]]; then
|
||||
s3cmd get "$file1_s3_path" "$file1_local_path"
|
||||
if [[ "$?" -ne 0 ]]; then
|
||||
echo 's3cmd command failed. Check your configuration'
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "$file1 already present in /tmp, no need to download."
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue