diff options
author | Sam Bingner <sam@bingner.com> | 2019-04-09 23:28:35 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-04-09 23:28:35 -1000 |
commit | 8493a07a3503a1bf4ead19c01b39119ffa12b52b (patch) | |
tree | fc8cc66604f74b3a89d61882162cb2bde0c08039 /arch/iphoneos-arm | |
parent | bb4e6a8ad361e6f5fb64ef17ee32da512e431c66 (diff) |
--confusing whitespace
Diffstat (limited to 'arch/iphoneos-arm')
-rw-r--r-- | arch/iphoneos-arm/1443.00/strip | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/iphoneos-arm/1443.00/strip b/arch/iphoneos-arm/1443.00/strip index 0fe0bba54..c3719dcff 100644 --- a/arch/iphoneos-arm/1443.00/strip +++ b/arch/iphoneos-arm/1443.00/strip @@ -4,30 +4,30 @@ find "${PKG_DEST}" -type f \( -perm -0100 -o -name '*.dylib' -o -name '*.so' \) case "$(file "${bin}")" in (\ *': Mach-O fat file with '*([0-9])' architecture' |\ *': '*(setuid |setgid )'Mach-O 64-bit executable arm64' \ - ) + ) ENTITLEMENT="${PKG_BASE}/arch/${PKG_ARCH}/${PKG_CFTARG}/entitlement.xml" ;; (\ *': Mach-O '?(64-bit )'dynamically linked shared library '@(acorn|arm64) |\ *': Mach-O '?(64-bit )'bundle '@(acorn|arm64) |\ - *': '*(setuid |setgid )'Mach-O executable acorn' \ + *': '*(setuid |setgid )'Mach-O executable acorn' \ ) ;; (*) continue ;; - esac + esac if "${PKG_TARG}-otool" -hv "${bin}" | grep DYLIB_STUB &>/dev/null; then continue; fi if grep $'\xfa\xde\x0c\x01' "${bin}" &>/dev/null; then continue; fi - if "${PKG_BASE}/util/ldid" -e "${bin}" >/dev/null 2>&1; then - continue; fi + if "${PKG_BASE}/util/ldid" -e "${bin}" >/dev/null 2>&1; then + continue; fi perms=$(stat -f %p "${bin}" | sed -e s/^1//) chmod 755 "${bin}" - echo "${PKG_BASE}/util/ldid" -S"${ENTITLEMENT}" "${bin}" + echo "${PKG_BASE}/util/ldid" -S"${ENTITLEMENT}" "${bin}" "${PKG_BASE}/util/ldid" -S"${ENTITLEMENT}" "${bin}" chmod "${perms}" "${bin}" done |