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

SCM Repository

[smlnj] View of /sml/releases/release-110.63/system/testml
ViewVC logotype

View of /sml/releases/release-110.63/system/testml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2370 - (download) (annotate)
Thu Mar 22 21:07:48 2007 UTC (12 years, 6 months ago) by blume
File size: 605 byte(s)
Release 110.63
#!/bin/sh

case "$1" in
    @*) HEAP_IMAGE=sml ;;
    ?*) HEAP_IMAGE=$1; shift ;;
    *) HEAP_IMAGE=sml ;;
esac

cmddir=`dirname $0`
cmddir=`cd $cmddir; pwd`

bin=../../bin
[ -x "$bin/.arch-n-opsys" ] || bin="$cmddir/$bin"

eval `$bin/.arch-n-opsys`

heapdir=`dirname $HEAP_IMAGE`
[ -f "$heapdir/$HEAP_IMAGE.$HEAP_SUFFIX" ] || heapdir="$cmddir/$heapdir"
HEAP_IMAGE=`cd $heapdir; pwd`/$HEAP_IMAGE

LIB_DIR=${HEAP_IMAGE}.lib
LPC=${LIB_DIR}/local_pathconfig

rm -f $LPC
cp ../../config/extrapathconfig $LPC

CM_PATHCONFIG=$LIB_DIR/pathconfig CM_LOCAL_PATHCONFIG=$LPC \
    $bin/sml @SMLload=$HEAP_IMAGE "$@"

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