Skip to content

Commit

Permalink
Update package script for new folder layout, thanks Wouter Snoei
Browse files Browse the repository at this point in the history
  • Loading branch information
danstowell committed Jan 19, 2011
1 parent 6aae5b4 commit 1d3749a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package/package
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,15 @@ else

mkdir -p SuperCollider/plugins
returndir=`pwd`
cd ../../common/build
cd ../platform/mac/build
git archive $revision | tar -x -C "$returndir/SuperCollider"
cp -R SuperCollider.app scsynth sclang "$returndir/SuperCollider/"
cp plugins/* "$returndir/SuperCollider/plugins/"
cp ../../COPYING "$returndir/SuperCollider/"
cd $returndir
find SuperCollider/help/ \( -name "*.htm" -or -name "*.html" \) -exec /Developer/Tools/SetFile -c SCjm {} \;
cd ../
cp -R ChangeLog COPYING examples Help SCClassLibrary README sounds "$returndir/SuperCollider/"
cd $returndir
find SuperCollider/Help/ \( -name "*.htm" -or -name "*.html" \) -exec /Developer/Tools/SetFile -c SCjm {} \;
defaults write $PWD/SuperCollider/SuperCollider.app/Contents/Info CFBundleVersion -string "$about_version"
defaults write $PWD/SuperCollider/SuperCollider.app/Contents/Info CFBundleGetInfoString -string "$version"
plutil -convert xml1 $PWD/SuperCollider/SuperCollider.app/Contents/Info.plist
Expand Down

0 comments on commit 1d3749a

Please sign in to comment.