summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-09-21 02:10:14 +0300
committerTor Lillqvist <tml@collabora.com>2014-09-21 02:10:14 +0300
commite503a0abb3f9e9c02de22bb024bb64211df1ab40 (patch)
treea1d0be3671520ae4041b185cd7e36e6a22a6a068 /solenv
parent426e3fe59649ce938954e1bf707630391b30ed23 (diff)
Need the entitlements for embedded app executables too
Change-Id: I75f31df295fdf7bccf82356c26ba757cc7ea276c
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/macosx-codesign-app-bundle2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/macosx-codesign-app-bundle b/solenv/bin/macosx-codesign-app-bundle
index 1996bda782b5..028de8f20c24 100755
--- a/solenv/bin/macosx-codesign-app-bundle
+++ b/solenv/bin/macosx-codesign-app-bundle
@@ -70,7 +70,7 @@ while read app; do
fn=${fn%.*}
# Assume the app has a XML (and not binary) Info.plist
id=`grep -A 1 '<key>CFBundleIdentifier</key>' $app/Contents/Info.plist | tail -1 | sed -e 's,.*<string>,,' -e 's,</string>.*,,'`
- codesign --verbose --identifier=$id --sign "$MACOSX_CODESIGNING_IDENTITY" "$app"
+ codesign --verbose --identifier=$id --sign "$MACOSX_CODESIGNING_IDENTITY" $entitlements "$app"
done
# Then .framework ones. Again, be generic just for kicks.