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

zhengchenyu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git

commit 9ab8b3486a524faf961fc00b6221f38ebdc9e6a4
Author: RickyMa <rick...@tencent.com>
AuthorDate: Tue Jun 25 14:37:09 2024 +0800

    [#1826][FOLLOWUP] fix(build): Revert incorrect shift statements deletion in 
build_distribution.sh (#1830)
    
    ### What changes were proposed in this pull request?
    
    Revert the incorrect shift shell statements deletion in 
https://github.com/apache/incubator-uniffle/pull/1827.
    
    ### Why are the changes needed?
    
    A follow-up PR for https://github.com/apache/incubator-uniffle/pull/1827.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Existing UTs.
---
 build_distribution.sh | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/build_distribution.sh b/build_distribution.sh
index b74b94713..0c21b568e 100755
--- a/build_distribution.sh
+++ b/build_distribution.sh
@@ -81,28 +81,22 @@ while (( "$#" )); do
       ;;
     --without-mr)
       WITH_MR="false"
-      shift
       ;;
     --without-tez)
       WITH_TEZ="false"
-      shift
       ;;
     --without-spark)
       WITH_SPARK2="false"
       WITH_SPARK3="false"
-      shift
       ;;
     --without-spark2)
       WITH_SPARK2="false"
-      shift
       ;;
     --without-spark3)
       WITH_SPARK3="false"
-      shift
       ;;
     --without-dashboard)
       WITH_DASHBOARD="false"
-      shift
       ;;
     --name)
       NAME="$2"

Reply via email to