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

SCM Repository

[smlnj] Annotation of /sml/trunk/system/testml
ViewVC logotype

Annotation of /sml/trunk/system/testml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2155 - (view) (download)
Original Path: sml/trunk/src/system/testml

1 : blume 512 #!/bin/sh
2 :    
3 : monnier 662 case "$1" in
4 : monnier 669 @*) HEAP_IMAGE=sml ;;
5 :     ?*) HEAP_IMAGE=$1; shift ;;
6 : monnier 662 *) HEAP_IMAGE=sml ;;
7 :     esac
8 : blume 512
9 : monnier 539 cmddir=`dirname $0`
10 :     cmddir=`cd $cmddir; pwd`
11 : blume 512
12 : blume 2155 bin=../../../bin
13 : monnier 539 [ -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 : mblume 1864 LPC=${LIB_DIR}/local_pathconfig
23 : monnier 539
24 : mblume 1864 rm -f $LPC
25 : blume 2155 cp ../../../config/extrapathconfig $LPC
26 : mblume 1864
27 :     CM_PATHCONFIG=$LIB_DIR/pathconfig CM_LOCAL_PATHCONFIG=$LPC \
28 : monnier 539 $bin/sml @SMLload=$HEAP_IMAGE "$@"

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