diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b47ce4ac02c..b3216a3daba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -287,10 +287,8 @@ repos: ?^cpp/build-support/.*\.sh$| ?^cpp/examples/minimal_build/run\.sh$| ?^cpp/examples/tutorial_examples/run\.sh$| - ?^cpp/src/arrow/flight/sql/odbc/install/mac/postinstall$| - ?^cpp/src/arrow/flight/sql/odbc/install/unix/install_odbc\.sh$| - ?^cpp/src/arrow/flight/sql/odbc/install/unix/install_odbc_ini\.sh$| - ?^cpp/src/arrow/flight/sql/odbc/tests/dremio/set_up_dremio_instance\.sh$| + ?^cpp/src/arrow/flight/.*\.sh$| + ?^cpp/thirdparty/download_dependencies\.sh$| ?^dev/release/05-binary-upload\.sh$| ?^dev/release/07-flightsqlodbc-upload\.sh$| ?^dev/release/08-publish-gh-release\.sh$| diff --git a/cpp/thirdparty/download_dependencies.sh b/cpp/thirdparty/download_dependencies.sh index de6c5b5b88b..e55666beaef 100755 --- a/cpp/thirdparty/download_dependencies.sh +++ b/cpp/thirdparty/download_dependencies.sh @@ -48,7 +48,7 @@ main() { mkdir -p "${DESTDIR}" # Load `DEPENDENCIES` variable. - source ${SOURCE_DIR}/versions.txt + source "${SOURCE_DIR}/versions.txt" echo "# Environment variables for offline Arrow build" for ((i = 0; i < ${#DEPENDENCIES[@]}; i++)); do