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 669, Fri Jun 16 22:22:10 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=sml ;;
5      shift      ?*) HEAP_IMAGE=$1; shift ;;
6  else      *) HEAP_IMAGE=sml ;;
7      HEAP_IMAGE=sml  esac
 fi  
8    
9  LIB_DIR=`pwd`/${HEAP_IMAGE}.lib  cmddir=`dirname $0`
10    cmddir=`cd $cmddir; pwd`
11    
12    bin=../../bin
13    [ -x "$bin/.arch-n-opsys" ] || bin="$cmddir/$bin"
14    
15    eval `$bin/.arch-n-opsys`
16    
17    heapdir=`dirname $HEAP_IMAGE`
18    [ -f "$heapdir/$HEAP_IMAGE.$HEAP_SUFFIX" ] || heapdir="$cmddir/$heapdir"
19    HEAP_IMAGE=`cd $heapdir; pwd`/$HEAP_IMAGE
20    
21    LIB_DIR=${HEAP_IMAGE}.lib
22    
23  CM_PATHCONFIG=$LIB_DIR/pathconfig CM_LOCAL_PATHCONFIG=/dev/null \  CM_PATHCONFIG=$LIB_DIR/pathconfig CM_LOCAL_PATHCONFIG=/dev/null \
24      ../../bin/sml @SMLload=$HEAP_IMAGE "$@"      $bin/sml @SMLload=$HEAP_IMAGE "$@"

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

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