You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by iw...@apache.org on 2022/07/16 03:08:43 UTC

[bigtop] branch master updated: BIGTOP-3742: Add tez.tar.gz to tez lib dir (#945)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1a85579a BIGTOP-3742: Add tez.tar.gz to tez lib dir (#945)
1a85579a is described below

commit 1a85579af8a5bb40502bd0ba905052cf23c980e5
Author: 吴治国 <ch...@startdt.com>
AuthorDate: Sat Jul 16 11:07:35 2022 +0800

    BIGTOP-3742: Add tez.tar.gz to tez lib dir (#945)
    
    (cherry picked from commit 3d0a8d4957a6e12105a5e24dcb9f643bd6b7fbba)
---
 bigtop-packages/src/common/tez/install_tez.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/bigtop-packages/src/common/tez/install_tez.sh b/bigtop-packages/src/common/tez/install_tez.sh
index db1bfa4e..47ff2797 100644
--- a/bigtop-packages/src/common/tez/install_tez.sh
+++ b/bigtop-packages/src/common/tez/install_tez.sh
@@ -109,7 +109,10 @@ install -d -m 0755 $PREFIX/$DOC_DIR
 install -d -m 0755 $PREFIX/$CONF_DIR
 install -d -m 0755 $PREFIX/$MAN_DIR
 
-cp tez-site.xml  $PREFIX/$CONF_DIR
+tar -C $PREFIX/$LIB_DIR -xzf $BUILD_DIR/tez-dist/target/tez*-minimal.tar.gz
 
-tar -C  $PREFIX/$LIB_DIR -xzf  $BUILD_DIR/tez-dist/target/tez*-minimal.tar.gz
+cp tez-site.xml $PREFIX/$CONF_DIR
+
+TEZ_TAR=$BUILD_DIR/tez-dist/target/tez-[[:digit:]]*[[:digit:]].tar.gz
+cp $TEZ_TAR $PREFIX/$LIB_DIR/lib/tez.tar.gz