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 4487, Sat Oct 14 18:29:16 2017 UTC revision 4519, Mon Dec 18 19:22:28 2017 UTC
# Line 105  Line 105 
105    
106  # build package  # build package
107  #  #
108  pkgbuild --identifier $ID --scripts components/scripts/ --install-location /usr/local/smlnj --root $DISTROOT smlnj.pkg  PKG_OPTS="--identifier $ID --version $VERSION --scripts components/scripts/ \
109      --install-location /usr/local/smlnj --root $DISTROOT"
110    pkgbuild $PKG_OPTS smlnj.pkg
111    
112  # build distribution package  # build distribution package
113  #  #
114    BUILD_OPTS="--package-path components --resources $RSRC \
115      --distribution $RSRC/distribution.xml ./smlnj-x86-$VERSION.pkg"
116  if [ x"$SIGN" = xnone ] ; then  if [ x"$SIGN" = xnone ] ; then
117    echo "$CMD: building unsigned package smlnj-x86-$VERSION.pkg"    echo "$CMD: building unsigned package smlnj-x86-$VERSION.pkg"
118    productbuild --package-path components --resources $RSRC \    productbuild $BUILD_OPTS
       --distribution $RSRC/distribution.xml ./smlnj-x86-$VERSION.pkg  
119  else  else
120    echo "$CMD: building signed package smlnj-x86-$VERSION.pkg"    echo "$CMD: building signed package smlnj-x86-$VERSION.pkg"
121    productbuild --sign "$SIGN" --package-path components --resources $RSRC \    productbuild --sign "$SIGN" $BUILD_OPTS
       --distribution $RSRC/distribution.xml ./smlnj-x86-$VERSION.pkg  
122  fi  fi
123    
124  # cleanup  # cleanup

Legend:
Removed from v.4487  
changed lines
  Added in v.4519

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