Skip to content

Commit

Permalink
integration test(ticdc): Reintroduce --wildcards Option in tar Comm…
Browse files Browse the repository at this point in the history
…and for download-integration-test-binaries.sh (#11632)

close #11631
  • Loading branch information
wlwilliamx authored Oct 10, 2024
1 parent 1b026f6 commit cd277f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/download-integration-test-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -206,6 +206,7 @@ cleanup() {

setup() {
cleanup
rm -rf ${BIN_DIR}
mkdir -p ${THIRD_BIN_DIR} ${TMP_DIR} ${BIN_DIR}
}

Expand Down

0 comments on commit cd277f5

Please sign in to comment.