Skip to content

Commit 91a8685

Browse files
anandamideShakyanmajetideepak
authored andcommitted
[native] Allow options for wget and tar commands during setup Part:2
1 parent 22e4de1 commit 91a8685

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

presto-native-execution/scripts/setup-centos.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export CC=/opt/rh/gcc-toolset-12/root/bin/gcc
1919
export CXX=/opt/rh/gcc-toolset-12/root/bin/g++
2020

2121
WGET_OPTIONS=${WGET_OPTIONS:-""}
22-
TAR_OPTIONS=${TAR_OPTIONS:-"-v"}
2322

2423
CPU_TARGET="${CPU_TARGET:-avx}"
2524
SCRIPT_DIR=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")
@@ -38,7 +37,7 @@ function install_presto_deps_from_package_managers {
3837

3938
function install_gperf {
4039
wget ${WGET_OPTIONS} http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz &&
41-
tar ${TAR_OPTIONS} -xzf gperf-3.1.tar.gz &&
40+
tar -xzf gperf-3.1.tar.gz &&
4241
cd gperf-3.1 &&
4342
./configure --prefix=/usr/local/gperf/3_1 &&
4443
make "-j$(nproc)" &&

0 commit comments

Comments
 (0)