Skip to content

Commit 4ec992c

Browse files
cxzl25HyukjinKwon
authored andcommitted
[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 <sychen@ctrip.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent d2cc107 commit 4ec992c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/make-distribution.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ if [ $(command -v git) ]; then
133133
unset GITREV
134134
fi
135135

136-
if [ "$SBT_ENABLED" == "true" && ! "$(command -v "$SBT")" ]; then
136+
if [ "$SBT_ENABLED" == "true" ] && [ ! "$(command -v "$SBT")" ]; then
137137
echo -e "Could not locate SBT command: '$SBT'."
138138
echo -e "Specify the SBT command with the --sbt flag"
139139
exit -1;

0 commit comments

Comments
 (0)