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

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ec992c77396 [SPARK-52665][BUILD] Fix make-distribution.sh [: missing 
`]'
4ec992c77396 is described below

commit 4ec992c773968b78ab2eebfd4bd3a1d55d23dcb1
Author: sychen <[email protected]>
AuthorDate: Fri Jul 4 08:22:04 2025 +0900

    [SPARK-52665][BUILD] Fix make-distribution.sh [: missing `]'
    
    ### What changes were proposed in this pull request?
    
    ### Why are the changes needed?
    
    ```bash
    ./dev/make-distribution.sh: line 136: [: missing `]'
    ```
    
    https://github.com/koalaman/shellcheck/wiki/SC2107
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    local test
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #51355 from cxzl25/SPARK-52665.
    
    Authored-by: sychen <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 dev/make-distribution.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/make-distribution.sh b/dev/make-distribution.sh
index 911c3e6d068a..b54ea496c633 100755
--- a/dev/make-distribution.sh
+++ b/dev/make-distribution.sh
@@ -133,7 +133,7 @@ if [ $(command -v git) ]; then
     unset GITREV
 fi
 
-if [ "$SBT_ENABLED" == "true" && ! "$(command -v "$SBT")" ]; then
+if [ "$SBT_ENABLED" == "true" ] && [ ! "$(command -v "$SBT")" ]; then
   echo -e "Could not locate SBT command: '$SBT'."
   echo -e "Specify the SBT command with the --sbt flag"
   exit -1;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to