Mercurial > hg > tony
changeset 101:ea081645b43c
Merge
author | Chris Cannam |
---|---|
date | Fri, 06 Dec 2013 09:11:32 +0000 |
parents | 26784984642a (diff) 3e26b0be0b85 (current diff) |
children | 0ac07b743cad |
files | |
diffstat | 2 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/deploy/osx/deploy.sh Thu Dec 05 15:31:22 2013 +0000 +++ b/deploy/osx/deploy.sh Fri Dec 06 09:11:32 2013 +0000 @@ -38,7 +38,7 @@ echo echo "Copying in plugin." -cp ../yintony/yintony.{dylib,cat,n3} "$source/Contents/Resources/" +cp ../pyin/pyin.{dylib,cat,n3} "$source/Contents/Resources/" echo echo "Fixing up paths." @@ -56,7 +56,7 @@ ln -s /Applications "$volume"/Applications cp README README.OSC COPYING CHANGELOG "$volume/" -cp -rp "$source" "$target" +cp -r "$source" "$target" echo "Done"
--- a/deploy/osx/sign.sh Thu Dec 05 15:31:22 2013 +0000 +++ b/deploy/osx/sign.sh Fri Dec 06 09:11:32 2013 +0000 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash # Execute this from the top-level directory of the project (the one # that contains the .app bundle). Supply the name of the .app bundle @@ -11,8 +11,15 @@ exit 2 fi for app in "$dir"/*.app; do + find "$app" -name Qt\* -print | while read fr; do + codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" + done + find "$app" -name \*.dylib -print | while read fr; do + codesign -s "Developer ID Application: Chris Cannam" -fv "$fr" + done + codesign -s "Developer ID Application: Chris Cannam" -fv "$app/Contents/Resources/Tony" codesign -s "Developer ID Application: Chris Cannam" -fv \ - --requirements '=designated => identifier "uk.ac.qmul.eecs.c4dm.Tony" and ( (anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] ) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.OU] = "43AQ936H96"))' \ + --requirements '=designated => identifier "uk.ac.qmul.eecs.c4dm.Tony" and ( (anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] ) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.OU] = "M2H8666U82"))' \ "$app" done