mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fix shellcheck
This commit is contained in:
parent
a5d4060df8
commit
a738b145ba
@ -49,7 +49,9 @@ sleep 5
|
||||
TEST_PATH=${1:-/usr/share/clickhouse-test}
|
||||
MINIO_DATA_PATH=${TEST_PATH}/queries/0_stateless/data_minio
|
||||
|
||||
for FILE in $(ls ${MINIO_DATA_PATH}); do
|
||||
echo $FILE;
|
||||
./mc cp ${MINIO_DATA_PATH}/$FILE clickminio/test/$FILE;
|
||||
# Iterating over globs will cause redudant FILE variale to be a path to a file, not a filename
|
||||
# shellcheck disable=SC2045
|
||||
for FILE in $(ls "${MINIO_DATA_PATH}"); do
|
||||
echo "$FILE";
|
||||
./mc cp "${MINIO_DATA_PATH}"/"$FILE" clickminio/test/"$FILE";
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user