Files
mercury/scripts/msp.sh
Fergus Henderson f3ce426725 Use ${var=default} rather than ${var:-$default}, since according
scripts/*.sh:
	Use ${var=default} rather than ${var:-$default}, since according
	to the GNU autoconf manual, the latter is not portable.
1995-05-12 15:57:16 +00:00

20 lines
670 B
Bash

#!/bin/sh
#---------------------------------------------------------------------------#
# Copyright (C) 1995 University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#---------------------------------------------------------------------------#
# msp - Mercury SICStus Prolog Interpreter
#
# A version of `sp' with `sp_builtin' and the Mercury library already loaded.
#
# Usage: msp [<sp options>]
#
# Environment variables: MERCURY_SICSTUS_INTERPRETER
INTERPRETER=\
${MERCURY_SICSTUS_INTERPRETER=@LIBDIR@/sicstus/@FULLARCH@/library.sicstus}
exec $INTERPRETER "$@"