Workaround for bug in Octave 3.2, numbered #550823 in Debian BTS, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550823

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3055 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2009-10-20 12:58:17 +00:00
parent 05773e5edf
commit 1e3115e759
1 changed files with 7 additions and 0 deletions

View File

@ -112,6 +112,13 @@ command = ['"' dynareroot 'dynare_m" ' fname] ;
for i=2:nargin
command = [command ' ' varargin{i-1}];
end
% Workaround for bug in Octave >= 3.2
% See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550823
if exist('OCTAVE_VERSION') && ~octave_ver_less_than('3.2.0')
sleep(2)
end
[status, result] = system(command);
disp(result)
if status