Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /osx-dist/build-pkg.sh
ViewVC logotype

Diff of /osx-dist/build-pkg.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3843, Fri Jul 12 21:33:27 2013 UTC revision 3844, Fri Jul 12 21:53:49 2013 UTC
# Line 7  Line 7 
7  VERSION=$1  VERSION=$1
8  CONFIGURL=http://smlnj.cs.uchicago.edu/dist/working/$VERSION/config.tgz  CONFIGURL=http://smlnj.cs.uchicago.edu/dist/working/$VERSION/config.tgz
9  DISTROOT=smlnj.dst  DISTROOT=smlnj.dst
10    ID=org.smlnj.x86
11  ROOT=$(pwd)  ROOT=$(pwd)
12    
13    # you need a developer ID to sign the final package
14    #
15    SIGN="Developer ID Installer: John Reppy"
16    
17  if [ -d $ROOT ] ; then  if [ -d $ROOT ] ; then
18    echo "please remove $ROOT first"    echo "please remove $ROOT first"
19    exit 1    exit 1
# Line 52  Line 57 
57    
58  # build package  # build package
59  #  #
60  pkgbuild --scripts components/scripts/ --install-location /usr/local/smlnj --root $DISTROOT smlnj.pkg  pkgbuild --identifier $ID --scripts components/scripts/ --install-location /usr/local/smlnj --root $DISTROOT smlnj.pkg
61    
62  # build distribution package  # build distribution package
63  #  #
64  productbuild --sign "Mac Developer: Rich Manalang (3U78U4KMEF)" \  productbuild --sign "$SIGN" --distribution distribution.xml --package-path . ./smlnj-x86-$VERSION.pkg
   --distribution distribution.xml --package-path . ./smlnj-x86-$VERSION.pkg  
65    
66  # cleanup  # cleanup
67  #  #

Legend:
Removed from v.3843  
changed lines
  Added in v.3844

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0