Skip to content

Commit

Permalink
Fix Linux file glob
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScheller committed Mar 21, 2024
1 parent cae3b99 commit 970a25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/maya.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 970a25e

Please sign in to comment.