#!/bin/sh

# $Id: installMatlabXite,v 1.3 2014/02/21 16:42:39 svein Exp $

if test "${quiet:-0}" -eq 0
then
  echo "Editing matlabXite.sh." 1>&2
fi

cp matlabXite.sh matlabXite.sh.tmpl

awk -f $edMatlabXite -F= matlab_lib_bin_path=$MATLAB_LIB matlabXite.sh.tmpl > matlabXite.sh

if test $? -ne 0
then
  echo "ERROR:" 1>&2
  echo "Editing matlabXite.sh failed." 1>&2
  echo "" 1>&2
  $paramMessage 1>&2

  exit 1
fi

exit 0
