Mercurial > hg > tony
changeset 66:f9803dceab2a r0.1_osx_testbuild
OS/X deployment updates
author | Chris Cannam |
---|---|
date | Thu, 18 Jul 2013 17:48:52 +0100 |
parents | ba11fca3ca42 |
children | 2f57aede1507 |
files | deploy/osx/Tony.sh deploy/osx/deploy.sh |
diffstat | 2 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy/osx/Tony.sh Thu Jul 18 17:48:52 2013 +0100 @@ -0,0 +1,4 @@ +#!/bin/sh +MYPATH=`dirname $0` +VAMP_PATH="$MYPATH/../Resources" "$MYPATH/../Resources/Tony" +
--- a/deploy/osx/deploy.sh Thu Jul 18 15:48:42 2013 +0100 +++ b/deploy/osx/deploy.sh Thu Jul 18 17:48:52 2013 +0100 @@ -23,6 +23,23 @@ *) echo "Error: Version $version is neither two- nor three-part number" ;; esac +if file "$source/Contents/MacOS/$app" | grep -q script; then + echo + echo "Executable is already a script, leaving it alone." +else + echo + echo "Moving aside executable, adding script." + + mv "$source/Contents/MacOS/$app" "$source/Contents/Resources/" || exit 1 + cp "deploy/osx/$app.sh" "$source/Contents/MacOS/$app" || exit 1 + chmod +x "$source/Contents/MacOS/$app" +fi + +echo +echo "Copying in plugin." + +cp ../yintony/yintony.{dylib,cat,n3} "$source/Contents/Resources/" + echo echo "Fixing up paths."