This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/arrow-flight-sql-postgresql.git


The following commit(s) were added to refs/heads/main by this push:
     new 873cd96  Fix a bug that verify-rc.sh doesn't set source directory for 
local checkout (#221)
873cd96 is described below

commit 873cd9625c20c3aeacd3fdfe97a867b85add540c
Author: Sutou Kouhei <[email protected]>
AuthorDate: Sun Nov 15 22:46:05 2026 +0900

    Fix a bug that verify-rc.sh doesn't set source directory for local checkout 
(#221)
    
    Closes GH-220
    
    `TARGET_SOURCE_DIR` isn't set for local checkout because the condition
    checks `TOP_SOURCE_DIR` instead of `TARGET_SOURCE_DIR`. So `pushd
    "${TARGET_SOURCE_DIR}"` is `pushd ""`. It works with Bash 5.2 or earlier
    but fails with Bash 5.3:
    
        ./dev/release/verify-rc.sh: line 185: pushd: null directory
    
    Co-authored-by: Claude Fable 5.2 <[email protected]>
---
 dev/release/verify-rc.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/release/verify-rc.sh b/dev/release/verify-rc.sh
index 208d545..3bdd6d4 100755
--- a/dev/release/verify-rc.sh
+++ b/dev/release/verify-rc.sh
@@ -152,7 +152,7 @@ ensure_source_directory() {
   dist_name="apache-arrow-flight-sql-postgresql-${VERSION}"
   if [ "${SOURCE_KIND}" = "local" ]; then
     # Local repository, testing repositories should be already present
-    if [ -z "${TOP_SOURCE_DIR}" ]; then
+    if [ -z "${TARGET_SOURCE_DIR:-}" ]; then
       export TARGET_SOURCE_DIR="${TOP_SOURCE_DIR}"
     fi
     echo "Verifying local checkout at ${TARGET_SOURCE_DIR}"

Reply via email to