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 /sml/trunk/src/system/testml
ViewVC logotype

Diff of /sml/trunk/src/system/testml

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

revision 512, Mon Dec 13 05:43:09 1999 UTC revision 662, Thu Jun 15 22:44:37 2000 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3  if [ $# -gt 0 ] ; then  case "$1" in
4      HEAP_IMAGE=$1      [^@]*) HEAP_IMAGE=$1; shift ;;
5      shift      *) HEAP_IMAGE=sml ;;
6  else  esac
     HEAP_IMAGE=sml  
 fi  
7    
8  LIB_DIR=`pwd`/${HEAP_IMAGE}.lib  cmddir=`dirname $0`
9    cmddir=`cd $cmddir; pwd`
10    
11    bin=../../bin
12    [ -x "$bin/.arch-n-opsys" ] || bin="$cmddir/$bin"
13    
14    eval `$bin/.arch-n-opsys`
15    
16    heapdir=`dirname $HEAP_IMAGE`
17    [ -f "$heapdir/$HEAP_IMAGE.$HEAP_SUFFIX" ] || heapdir="$cmddir/$heapdir"
18    HEAP_IMAGE=`cd $heapdir; pwd`/$HEAP_IMAGE
19    
20    LIB_DIR=${HEAP_IMAGE}.lib
21    
22  CM_PATHCONFIG=$LIB_DIR/pathconfig CM_LOCAL_PATHCONFIG=/dev/null \  CM_PATHCONFIG=$LIB_DIR/pathconfig CM_LOCAL_PATHCONFIG=/dev/null \
23      ../../bin/sml @SMLload=$HEAP_IMAGE "$@"      $bin/sml @SMLload=$HEAP_IMAGE "$@"

Legend:
Removed from v.512  
changed lines
  Added in v.662

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