From 970a25e375f78bf41478702cb772b83d1f9d1a4f Mon Sep 17 00:00:00 2001 From: Luca Scheller Date: Wed, 20 Mar 2024 21:59:41 -0700 Subject: [PATCH] Fix Linux file glob --- .github/scripts/maya.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/maya.py b/.github/scripts/maya.py index 81daca7..b74239e 100644 --- a/.github/scripts/maya.py +++ b/.github/scripts/maya.py @@ -208,7 +208,7 @@ def install_autodesk_product(product, version, install_dir_path): os.rename(maya_usd_sdk_extract_usd_dir_path, maya_usd_sdk_install_dir_path) os.chmod(maya_usd_sdk_install_dir_path, 0o777) # Maya USD SDK devkit - maya_usd_sdk_devkit_zip_file_path = glob.glob("{root_dir}{sep}**{sep}devkit.zip".format(root_dir=maya_usd_sdk_extract_dir_path, sep=os.path.sep), recursive=True) + maya_usd_sdk_devkit_zip_file_path = glob.glob("{root_dir}{sep}**{sep}devkit.zip".format(root_dir=maya_usd_sdk_install_dir_path, sep=os.path.sep), recursive=True) maya_usd_sdk_devkit_zip_file_path = os.path.join(maya_usd_sdk_install_dir_path, maya_usd_sdk_devkit_zip_file_path[0]) with zipfile.ZipFile(maya_usd_sdk_devkit_zip_file_path, 'r') as zip_file: zip_file.extractall(maya_usd_sdk_devkit_install_dir_path)