Files
mercury/scripts/mprof.in
Zoltan Somogyi 908661689f Fix missing ;;s in case statement.
mprof:
	Fix missing ;;s in case statement.
1995-10-09 01:48:21 +00:00

21 lines
600 B
Bash

#! /bin/sh
# @configure_input@
#---------------------------------------------------------------------------#
# 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.
#---------------------------------------------------------------------------#
#
# MPROF - Mercury Profiler
#
# Use `mprof -h' for help.
#
# Environment variables: MERCURY_PROFILER.
MPROF=${MERCURY_PROFILER="@LIBDIR@/bin/@FULLARCH@/mercury_profile"}
case $# in
0) exec $MPROF ;;
*) exec $MPROF "$@" ;;
esac