From: Jocelyn Turcotte Date: Fri, 22 Jan 2016 15:48:32 +0000 (+0100) Subject: Fix gen_sym_files.py trying to process non-macho files X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1254^2~42 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c3724068e5cae6b524362384efec43a55678eb98;p=nextcloud-desktop.git Fix gen_sym_files.py trying to process non-macho files Since it processes all files under PlugIns uncondisionally, it would now try to process the Info.plist file in the FinderSyncExt bundle. --- diff --git a/admin/osx/gen_sym_files.py b/admin/osx/gen_sym_files.py index 867bc5e8b..1d9fa2489 100755 --- a/admin/osx/gen_sym_files.py +++ b/admin/osx/gen_sym_files.py @@ -25,6 +25,8 @@ def extractDeps(macho): deps = [macho] otool = subprocess.Popen(['otool', '-L', macho], stdout=subprocess.PIPE) for l in otool.communicate()[0].splitlines(): + if 'is not an object file' in l: + return [] m = re.search(r'@[^\s]+', l) if m: path = resolvePath(m.group(0))