Fixed Typo: MATLAB_PATH -> MATLABPATH (#501)

This commit is contained in:
Matteo Giani 2018-02-07 23:34:28 +01:00 committed by Ray Speth
parent 987a247bd0
commit d86a7c176e
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ if ("@python_cmd@" != `which python`) then
endif
if ("@matlab_toolbox@" == "y") then
if (! $?MATLAB_PATH) then
if (! $?MATLABPATH) then
setenv MATLABPATH @ct_matlab_dir@:@ct_matlab_dir@/1D
else
setenv MATLABPATH $MATLABPATH:@ct_matlab_dir@:@ct_matlab_dir@/1D

View file

@ -25,7 +25,7 @@ if [ "@python_cmd@" != `which python` ]; then
fi
if [ "@matlab_toolbox@" = "y" ]; then
if [ -z $MATLAB_PATH ]; then
if [ -z $MATLABPATH ]; then
MATLABPATH=@ct_matlab_dir@:@ct_matlab_dir@/1D
else
MATLABPATH=$MATLABPATH:@ct_matlab_dir@:@ct_matlab_dir@/1D