File openEMS-octave-openEMS-load.patch of Package openEMS

Index: openEMS-0.0.33/matlab/private/invoke_openEMS.m
===================================================================
--- openEMS-0.0.33.orig/matlab/private/invoke_openEMS.m
+++ openEMS-0.0.33/matlab/private/invoke_openEMS.m
@@ -27,9 +27,7 @@ filename = mfilename('fullpath');
 dir = fileparts( filename );
 
 if isunix
-    openEMS_bin = searchBinary('openEMS.sh', ...
-    {[dir filesep '..' filesep '..' filesep], ...  % try devel path
-     [dir filesep '..' filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]}); % try (default) install path
+    openEMS_bin = 'openEMS.sh';
 else % assume windows
     openEMS_bin = searchBinary('openEMS.exe', [dir filesep '..' filesep '..' filesep]);
 end