Skip to content

Commit

Permalink
Fix versions file
Browse files Browse the repository at this point in the history
  • Loading branch information
jberkenbilt committed Jul 27, 2024
1 parent b76c457 commit 06c03b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/download_dists
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ versions = []
for m in re.finditer(r'(?i)href="(.*?openssl-(3\.[a-z0-9\.]*?)\.tar\.gz)"', r.text):
versions.append((m.group(1), m.group(2)))
openssl_version = max(versions, key=parse_openssl_version)
openssl_src = f'{openssl_version[0]}'
openssl_src = openssl_version[0]

overall_version = []

Expand All @@ -115,7 +115,7 @@ download_file(nasm_src)

def print_version(prefix, v):
overall_version.append(f'{prefix}-{v[1]}')
print(f'{prefix}_dist={v[0]}')
print(f'{prefix}_dist={os.path.basename(v[0])}')
print(f'{prefix}_version={v[1]}')


Expand Down

0 comments on commit 06c03b5

Please sign in to comment.