Mercurial > hg > tony
comparison deploy/osx/deploy.sh @ 66:f9803dceab2a r0.1_osx_testbuild
OS/X deployment updates
author | Chris Cannam |
---|---|
date | Thu, 18 Jul 2013 17:48:52 +0100 |
parents | 092a69229347 |
children | 26784984642a |
comparison
equal
deleted
inserted
replaced
65:ba11fca3ca42 | 66:f9803dceab2a |
---|---|
20 case "$version" in | 20 case "$version" in |
21 [0-9].[0-9]) bundleVersion="$version".0 ;; | 21 [0-9].[0-9]) bundleVersion="$version".0 ;; |
22 [0-9].[0-9].[0-9]) bundleVersion="$version" ;; | 22 [0-9].[0-9].[0-9]) bundleVersion="$version" ;; |
23 *) echo "Error: Version $version is neither two- nor three-part number" ;; | 23 *) echo "Error: Version $version is neither two- nor three-part number" ;; |
24 esac | 24 esac |
25 | |
26 if file "$source/Contents/MacOS/$app" | grep -q script; then | |
27 echo | |
28 echo "Executable is already a script, leaving it alone." | |
29 else | |
30 echo | |
31 echo "Moving aside executable, adding script." | |
32 | |
33 mv "$source/Contents/MacOS/$app" "$source/Contents/Resources/" || exit 1 | |
34 cp "deploy/osx/$app.sh" "$source/Contents/MacOS/$app" || exit 1 | |
35 chmod +x "$source/Contents/MacOS/$app" | |
36 fi | |
37 | |
38 echo | |
39 echo "Copying in plugin." | |
40 | |
41 cp ../yintony/yintony.{dylib,cat,n3} "$source/Contents/Resources/" | |
25 | 42 |
26 echo | 43 echo |
27 echo "Fixing up paths." | 44 echo "Fixing up paths." |
28 | 45 |
29 deploy/osx/paths.sh "$app" | 46 deploy/osx/paths.sh "$app" |