Skip to content

Commit 8baaffd

Browse files
committed
build: always download and extract tars
This caused failures in our ci-cd. Always downloading & extracting the tars makes sure we will redownload them & extract if the previous download / extraction was faulty.
1 parent eef9ea9 commit 8baaffd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/compilation/download_packages.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ function download_package() {
6464
local url="$1"
6565
local output="$2"
6666

67-
if [[ -f "$output" ]]; then
68-
>&2 echo "Skipping download: $output already exists"
69-
return 0
70-
fi
71-
7267
wget "$url" -O "$output"
7368
if [[ $? -ne 0 ]]; then
7469
>&2 echo "Error: failed to download $url"
@@ -98,11 +93,6 @@ function extract_package() {
9893
return 1
9994
fi
10095

101-
if [[ -d "$output_dir" ]]; then
102-
>&2 echo "Skipping extraction: $output_dir already exists"
103-
return 0
104-
fi
105-
10696
pushd "$temp_dir" > /dev/null
10797

10898
unpack_tarball "$tarball_realpath"

0 commit comments

Comments
 (0)