diff --git a/Makefile b/Makefile index 6b5a366891259cfbf72f135cc1cc92b304dae6d2..451261ef2cba87538a0d03eb422a9adcbdad680b 100644 --- a/Makefile +++ b/Makefile @@ -8,4 +8,4 @@ check-octave: $(OCTAVE) --no-init-file --silent --no-history --eval "addpath([pwd() '/../dseries/src']); addpath([pwd() '/../src']); runtest;" && [ -f my/report/dir/report.pdf ] check-matlab: - @$(MATLAB) -nosplash -nodisplay -r "addpath dseries/src; addpath src; cd test; runtest; quit" && [ -f test/my/report/dir/report.pdf ] + @$(MATLAB) -nosplash -nodisplay -r "addpath([pwd '/dseries/src']); addpath([pwd '/src']); cd test; runtest; quit" && [ -f test/my/report/dir/report.pdf ]