aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-01-09 09:16:57 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-01-09 09:28:26 +0000
commitc621ee3ee02bcd7376c22336df321ae8dd561f56 (patch)
tree6672148667ea9407d7eea5f6525bffb58dbf4a63 /resources/libraries/bash/function
parent243ea0cbda7a0247f9e94d9f485255f36695b688 (diff)
fix(core): DPDK stuff
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I276cbfe4f761ddb4ccc652a276be2614adc6117e
Diffstat (limited to 'resources/libraries/bash/function')
-rw-r--r--resources/libraries/bash/function/gather.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/libraries/bash/function/gather.sh b/resources/libraries/bash/function/gather.sh
index 4958e5251b..afe7345f6e 100644
--- a/resources/libraries/bash/function/gather.sh
+++ b/resources/libraries/bash/function/gather.sh
@@ -1,5 +1,5 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
-# Copyright (c) 2021 PANTHEON.tech and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
+# Copyright (c) 2023 PANTHEON.tech and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -92,7 +92,8 @@ function gather_dpdk () {
then
echo "Downloading latest DPDK packages from repo..."
# URL is not in quotes, calling command from variable keeps them.
- wget_command=("wget" "--no-check-certificate" "-nv" "-O" "-")
+ wget_command=("wget" "--no-check-certificate" "--compression=auto")
+ wget_command+=("-nv" "-O" "-")
wget_command+=("${dpdk_repo}")
dpdk_stable_ver="$("${wget_command[@]}" | grep -v "2015"\
| grep -Eo 'dpdk-[^\"]+xz' | tail -1)" || {