File CSXCAD-octave-AppCSXCAD-load.patch of Package CSXCAD

Index: CSXCAD-0.6.0/matlab/CSXGeomPlot.m
===================================================================
--- CSXCAD-0.6.0.orig/matlab/CSXGeomPlot.m
+++ CSXCAD-0.6.0/matlab/CSXGeomPlot.m
@@ -28,9 +28,7 @@ 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]});
+    AppCSXCAD_bin = 'AppCSXCAD.sh';
 else % assume windows
     AppCSXCAD_bin = searchBinary('AppCSXCAD.exe',[dir filesep '..' filesep]);
 end
openSUSE Build Service is sponsored by