diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2016-07-06 18:24:09 +0200 |
---|---|---|
committer | Sébastien Villemot <sebastien@debian.org> | 2019-10-07 14:02:23 +0200 |
commit | cdf926f07a0701a08eb1eff774f61e63952dd9f7 (patch) | |
tree | 0cfa07edadb30911ba434b0c1de2b850e0c8364d /CSXCAD | |
parent | 3aa61fe1ea835efefef67134b37677b6e9fb3426 (diff) |
Fix path to binaries for Debian
Gbp-Pq: Name 0001-Fix-path-to-binaries-for-Debian.patch
Diffstat (limited to 'CSXCAD')
-rw-r--r-- | CSXCAD/matlab/CSXGeomPlot.m | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/CSXCAD/matlab/CSXGeomPlot.m b/CSXCAD/matlab/CSXGeomPlot.m index df33c94..034f1a1 100644 --- a/CSXCAD/matlab/CSXGeomPlot.m +++ b/CSXCAD/matlab/CSXGeomPlot.m @@ -27,13 +27,15 @@ end filename = mfilename('fullpath'); dir = fileparts( filename ); -if isunix - AppCSXCAD_bin = searchBinary('AppCSXCAD.sh', ... - {[dir filesep '..' filesep '..' filesep 'AppCSXCAD' filesep], ... - [dir filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]}); -else % assume windows - AppCSXCAD_bin = searchBinary('AppCSXCAD.exe',[dir filesep '..' filesep]); -end +%if isunix +% AppCSXCAD_bin = searchBinary('AppCSXCAD.sh', ... +% {[dir filesep '..' filesep '..' filesep 'AppCSXCAD' filesep], ... +% [dir filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]}); +%else % assume windows +% AppCSXCAD_bin = searchBinary('AppCSXCAD.exe',[dir filesep '..' filesep]); +%end + +AppCSXCAD_bin = '/usr/bin/AppCSXCAD'; command = [AppCSXCAD_bin ' --disableEdit ' args_string ' ' CSX_filename]; disp( ['invoking AppCSXCAD, exit to continue script...'] ); |