From 618fb1856dedb345f86c01d977787187ec1d4267 Mon Sep 17 00:00:00 2001 From: Ruben Undheim Date: Wed, 6 Jul 2016 18:24:09 +0200 Subject: Fix path to binaries for Debian Gbp-Pq: Name 0001-Fix-path-to-binaries-for-Debian.patch --- CSXCAD/matlab/CSXGeomPlot.m | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'CSXCAD') 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...'] ); -- cgit v1.2.3