From c65d5bb90ff3ae798bada0eca9c37c040a825fcf Mon Sep 17 00:00:00 2001 From: Isaac To Date: Thu, 23 Nov 2023 16:47:56 -0800 Subject: [PATCH] Eliminate shellcheck err in by adding `-r` option --- tools/populate_datasets.datalad.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/populate_datasets.datalad.org b/tools/populate_datasets.datalad.org index 5b0d0be6..7dc8fa29 100755 --- a/tools/populate_datasets.datalad.org +++ b/tools/populate_datasets.datalad.org @@ -5,7 +5,7 @@ set -eu topp="/srv/datasets.datalad.org/www" ssh falkor.datalad.org find "$topp" -iname .git -type d | sed -e "s,$topp/\(.*\),https://datasets.datalad.org/\1,g" \ -| while read url; do +| while read -r url; do curl -X 'POST' \ 'http://localhost:5000/api/v2/dataset-urls' \ -H 'accept: application/json' \