From 2e99dbdd4ed1965e0e8a7da61a8770d6be6334ba Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Fri, 31 Mar 2023 16:46:55 -0500 Subject: [PATCH] Fix typo in Mac build script --- installer/fix_qt5_rpath.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/fix_qt5_rpath.py b/installer/fix_qt5_rpath.py index 66eee7a5d3..0490cc1ce5 100644 --- a/installer/fix_qt5_rpath.py +++ b/installer/fix_qt5_rpath.py @@ -36,7 +36,7 @@ def fix_rpath(PATH): # Change ID path of library files # Sometimes, the ID has an absolute path or invalid @rpath embedded in it, which breaks our frozen exe call(["install_name_tool", file_path, "-id", executable_path], - stdout=subprocess.STDOUT, stderr=subprocess.DEVNUL) + stdout=subprocess.STDOUT, stderr=subprocess.DEVNULL) # Loop through all dependencies of each library/executable raw_output = subprocess.Popen(["oTool", "-L", file_path], stdout=subprocess.PIPE).communicate()[0].decode('utf-8') @@ -52,7 +52,7 @@ def fix_rpath(PATH): print("ERROR: /usr/local PATH not found in EXE folder: %s" % dependency_path) else: call(["install_name_tool", file_path, "-change", dependency_path, dependency_exe_path], - stdout=subprocess.STDOUT, stderr=subprocess.DEVNUL) + stdout=subprocess.STDOUT, stderr=subprocess.DEVNULL) def print_min_versions(PATH):