projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eba784
)
Fix gen_sym_files.py trying to process non-macho files
author
Jocelyn Turcotte
<jturcotte@woboq.com>
Fri, 22 Jan 2016 15:48:32 +0000
(16:48 +0100)
committer
Jocelyn Turcotte
<jturcotte@woboq.com>
Fri, 22 Jan 2016 15:48:53 +0000
(16:48 +0100)
Since it processes all files under PlugIns uncondisionally, it would
now try to process the Info.plist file in the FinderSyncExt bundle.
admin/osx/gen_sym_files.py
patch
|
blob
|
history
diff --git
a/admin/osx/gen_sym_files.py
b/admin/osx/gen_sym_files.py
index 867bc5e8b78e81c50c8540955c8cea836a34f177..1d9fa24890532aaf9dd78a55e6fa969b11b03bf1 100755
(executable)
--- 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))