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

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


The following commit(s) were added to refs/heads/master by this push:
     new c82d7687b4 [Bug](shell) fix wrong condition expression in script 
(#11913)
c82d7687b4 is described below

commit c82d7687b4dafaf4ad931337c769ff5b939ab0ab
Author: Gabriel <[email protected]>
AuthorDate: Fri Aug 19 19:10:11 2022 +0800

    [Bug](shell) fix wrong condition expression in script (#11913)
    
    * [Bug](shell) fix wrong condition expression in script
---
 run-regression-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-regression-test.sh b/run-regression-test.sh
index 6ca6867859..0a57fc0ea6 100755
--- a/run-regression-test.sh
+++ b/run-regression-test.sh
@@ -141,7 +141,7 @@ if [[ "${RUN}" -ne 1 ]]; then
     exit 0
 fi
 
-if [[ ! -f ${RUN_JAR} ]]; then
+if ! test -f ${RUN_JAR:+${RUN_JAR}}; then
     echo "===== Build Regression Test Framework ====="
     cd "${DORIS_HOME}/regression-test/framework"
     "${MVN_CMD}" package


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

Reply via email to