#!/bin/sh
#
#   MathInstaller for Mathematica Version 4
#
#   This file and all scripts and messages accessed from this file
#        (c) 1996 Wolfram Research, Inc.  All rights reserved.
#


INSTALLARCH=HP-RISC
export INSTALLARCH

FROMDIR=`pwd`
export FROMDIR


if [ .$TMPDIR = ."" ]; then
  TMPDIR=/usr/tmp
  export TMPDIR
fi

INSTALLLANG=English
export INSTALLLANG

if [ ! -d ../../Files/SystemFiles/Installation ]; then
   echo
   echo "Your system type cannot be determined.  "
   echo "You are in the wrong directory to run MathInstaller. "
   echo "Try again following these instructions: "
   echo "cd /cdrom/Unix/Installers/<\SystemID>"
   echo "./MathInstaller "
   echo
   exit
fi

cd ../../Files/SystemFiles/Installation

SystemResources/Utilities/MathInstaller $*
