diff options
Diffstat (limited to 'arch/iphoneos-arm/strip')
-rw-r--r-- | arch/iphoneos-arm/strip | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/iphoneos-arm/strip b/arch/iphoneos-arm/strip index 0c0fad136..5eb943311 100644 --- a/arch/iphoneos-arm/strip +++ b/arch/iphoneos-arm/strip @@ -11,6 +11,9 @@ find "${PKG_DEST}" -type f \( -perm -0100 -o -name '*.dylib' -o -name '*.so' \) if grep $'\xfa\xde\x0c\x01' "${bin}" &>/dev/null; then continue; fi + perms=$(stat --format=%a "${bin}") + chmod 755 "${bin}" "${PKG_BASE}/util/ldid" -S "${bin}" #"${PKG_BASE}/arch/iphoneos-arm/entitlement.xml" "${bin}" + chmod "${perms}" "${bin}" done |