File: hardcode-dynareroot.patch

package info (click to toggle)
dynare 7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 79,248 kB
  • sloc: cpp: 82,011; ansic: 28,583; objc: 12,573; yacc: 5,105; pascal: 2,374; lex: 1,502; python: 1,118; sh: 1,116; makefile: 605; lisp: 162; xml: 18
file content (15 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Hardcode the root of the Dynare installation
 Otherwise it will be incorrectly detected because of the symlink for Octave.
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: not-needed
--- a/matlab/dynare_config.m
+++ b/matlab/dynare_config.m
@@ -37,7 +37,7 @@ if nargin && ~isempty(path_to_dynare)
     addpath(path_to_dynare);
 end
 
-dynareroot = strrep(which('dynare'),'dynare.m','');
+dynareroot = '/usr/lib/dynare/matlab/';
 
 origin = pwd();
 cd([dynareroot '/..'])