mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-18 08:48:32 +08:00
Update benchmarks/scripts/compare.sh
Co-authored-by: Irevoire <tamo@meilisearch.com>
This commit is contained in:
parent
57ed96622b
commit
61fe422a88
@ -55,6 +55,10 @@ fi
|
|||||||
|
|
||||||
if [[ ! -f "$file2_local_path" ]]; then
|
if [[ ! -f "$file2_local_path" ]]; then
|
||||||
s3cmd get "$file2_s3_path" "$file2_local_path"
|
s3cmd get "$file2_s3_path" "$file2_local_path"
|
||||||
|
if [[ "$?" -ne 0 ]]; then
|
||||||
|
echo 's3cmd command failed. Check your configuration'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "$file2 already present in /tmp, no need to download."
|
echo "$file2 already present in /tmp, no need to download."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user