diff options
-rwxr-xr-x | tests/fixtures/verify-entity-download.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/fixtures/verify-entity-download.sh b/tests/fixtures/verify-entity-download.sh index bc229bf..b4b26c0 100755 --- a/tests/fixtures/verify-entity-download.sh +++ b/tests/fixtures/verify-entity-download.sh @@ -10,9 +10,10 @@ CSV="verify.csv" for ident in $(awk -F, '{print $1"\n"$2}' "$CSV"); do if [ -f "$ident" ]; then - >&2 echo "[cached] $ident" + echo >&2 "[cached] $ident" continue fi - tempfile=$(mktemp) - curl -sL --fail "$API/release/$ident" | jq --sort-keys . > "$tempfile" && mv "$tempfile" "$ident" + tempfile=$(mktemp) + curl -sL --fail "$API/release/$ident" | jq --sort-keys . >"$tempfile" && mv "$tempfile" "$ident" + echo >&2 "[fetched] $ident" done |