#!/bin/sh # # COPYRIGHT (c) 2006 The SML/NJ Fellowship. # # @configure_input@ # # a general-purpose script for installing executable wrappers for SML/NJ # programs. # # install-sml-wrapper.sh INSTALL="@INSTALL@" INSTALL_DATA="@INSTALL_DATA@" HEAP_SUFFIX="@SMLNJ_HEAP_SUFFIX@" if test $# -ne 2 ; then echo "usage: install-sml-wrapper.sh " exit 1 fi SRC=$1 TARGET=`basename $SRC` HEAP_IMAGE=$SRC.$HEAP_SUFFIX INSTALL_DIR=$2 INSTALL_HEAP_DIR=$INSTALL_DIR/.heap INSTALL_HEAP_IMAGE=$INSTALL_HEAP_DIR/$TARGET.$HEAP_SUFFIX if test ! -f $HEAP_IMAGE ; then echo "heap image $HEAP_IMAGE not found" exit 1 fi # create the wrapper script # cat > $TARGET <//
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: EAP_IMAGE $INSTALL_HEAP_IMAGE || exit 1 # remove the local copy of the script rm -f $TARGET exit 0