Patch which appimagetool

This commit is contained in:
Valentin Niess
2025-02-10 22:41:55 +01:00
parent b8c443b27c
commit fb54370a7e
2 changed files with 6 additions and 3 deletions

View File

@@ -16,6 +16,9 @@ def _unpack_args(args):
def execute(binary):
'''Print the location of a binary dependency
'''
path = os.path.join(os.path.dirname(deps.PATCHELF), binary)
if binary == 'appimagetool':
path = deps.ensure_appimagetool(dry=True)
else:
path = os.path.join(os.path.dirname(deps.PATCHELF), binary)
if os.path.exists(path):
print(path)