Skip to content

Commit

Permalink
Make platform name actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Sep 17, 2024
1 parent 575b676 commit 319ed44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/tests/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import glob
import logging
import os
import platform
import shlex
import stat
import subprocess
Expand All @@ -26,7 +27,7 @@ def _get_native_machine_target():
"""
Returns the build prefix for applications, such as 'linux-x64'.
"""
current_system_info = uname()
current_system_info = platform.uname()
arch = current_system_info.machine
if arch == 'x86_64':
arch = 'x64'
Expand Down

0 comments on commit 319ed44

Please sign in to comment.