Skip to content

Commit

Permalink
Fixed Typo: MATLAB_PATH -> MATLABPATH (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcDuQuesne authored and speth committed Feb 7, 2018
1 parent 987a247 commit d86a7c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platform/posix/setup_cantera.csh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion platform/posix/setup_cantera.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d86a7c1

Please sign in to comment.