#!/bin/sh

# Copyright (c) 1996-1998 by Waterloo Maple Inc.
# All rights reserved. Unauthorized duplication prohibited.
# Permission is granted to modify this file to be appropriate
# for use at the installation for which Maple was purchased.

# This script is used to start the updtsrc tool
# of Maple V Release 5.

# Set the MAPLE environment variable. This variable is needed
# to find the required executable for the current system.
# Change the following line appropriately for your site if you did not
# install Maple in the directory indicated.
MAPLE=/usr/local/maple
export MAPLE

# Start by determining the system we are running on.
MAPLE_SYS_BIN=`$MAPLE/bin/maple.system.type`

# Parse all command line parameters.
PARAM=
while [ x$1 != x ]
do
    PARAM="$PARAM $1"
    shift
done

PATH=$MAPLE/$MAPLE_SYS_BIN:$PATH
export PATH

exec ${MAPLE}/$MAPLE_SYS_BIN/updtsrc $PARAM
