summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-28 18:46:26 +0000
committerJay Freeman <saurik@saurik.com>2008-06-28 18:46:26 +0000
commit0f61080a59af8e9aaecfbaca8bfeb355c4175ca3 (patch)
treeedb57c440c171808051549c2bea390dfbaa90dbc /arch
parent54635eaf373ad155e25ab9cd96e81c3c0802a7b6 (diff)
Fixed setuid stripping (with a hack).
git-svn-id: http://svn.telesphoreo.org/trunk@348 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'arch')
-rw-r--r--arch/darwin-arm/strip2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/darwin-arm/strip b/arch/darwin-arm/strip
index cc6e4d69d..5a348dd4b 100644
--- a/arch/darwin-arm/strip
+++ b/arch/darwin-arm/strip
@@ -1,9 +1,9 @@
find "${PKG_DEST}" -type f \( -perm -0500 -o -name '*.dylib' \) -print0 | while read -r -d $'\0' bin; do
case "$(file "${bin}")" in (\
*': Mach-O fat file with '*([0-9])' architecture' |\
- *': '?(setuid )?(setgid )'Mach-O executable acorn' |\
*': Mach-O dynamically linked shared library acorn'\
);; (*) continue;; esac
+ #*': '?(setuid )?(setgid )'Mach-O executable acorn' |\
"${PKG_TARG}-strip" -x -no_uuid "${bin}"
done