mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
'file' output might span two lines with universal binaries.
Filter out any lines that start with "- Mach-O".
This commit is contained in:
parent
f5793e9a7a
commit
923f2fc7c4
@ -316,6 +316,7 @@ _codesign_binaries() {
|
||||
IFS=$'\n'
|
||||
for i in $(find "${BUNDLE_DIR}" -type f -perm +111 -exec file "{}" \; | \
|
||||
grep -v "(for architecture" | \
|
||||
grep -v -E "^- Mach-O" | \
|
||||
grep -E "Mach-O executable|Mach-O 64-bit executable|Mach-O 64-bit bundle|Mach-O 64-bit dynamically linked shared library" | \
|
||||
awk -F":" '{print $1}' | \
|
||||
uniq)
|
||||
|
Loading…
Reference in New Issue
Block a user