From cd277f5b9022530eceb98fa77bcd2b21c048f0b5 Mon Sep 17 00:00:00 2001 From: wlwilliamx <53336371+wlwilliamx@users.noreply.github.com> Date: Thu, 10 Oct 2024 18:14:34 +0800 Subject: [PATCH] integration test(ticdc): Reintroduce `--wildcards` Option in tar Command for download-integration-test-binaries.sh (#11632) close pingcap/tiflow#11631 --- scripts/download-integration-test-binaries.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/download-integration-test-binaries.sh b/scripts/download-integration-test-binaries.sh index 234ec4d787d..765d848aede 100755 --- a/scripts/download-integration-test-binaries.sh +++ b/scripts/download-integration-test-binaries.sh @@ -174,9 +174,9 @@ download_and_extract() { download_file "$url" "$file_name" "${TMP_DIR}/$file_name" if [ -n "$extract_path" ]; then - tar -xz -C ${THIRD_BIN_DIR} $extract_path -f ${TMP_DIR}/$file_name + tar -xz --wildcards -C ${THIRD_BIN_DIR} $extract_path -f ${TMP_DIR}/$file_name else - tar -xz -C ${THIRD_BIN_DIR} -f ${TMP_DIR}/$file_name + tar -xz --wildcards -C ${THIRD_BIN_DIR} -f ${TMP_DIR}/$file_name fi # Move extracted files if necessary @@ -206,6 +206,7 @@ cleanup() { setup() { cleanup + rm -rf ${BIN_DIR} mkdir -p ${THIRD_BIN_DIR} ${TMP_DIR} ${BIN_DIR} }