depot/third_party/nixpkgs/pkgs/applications/science/electronics/csxcad/searchPath.patch

12 lines
370 B
Diff
Raw Normal View History

--- CSXCAD/matlab/searchBinary.m 2019-07-14 09:24:02.154291745 -0700
+++ CSXCAD/matlab/searchBinary.m 2019-07-14 09:20:20.900248280 -0700
@@ -33,7 +33,7 @@
% try all search paths
for n=1:numel(searchpath)
- binary_location = [searchpath{n} name];
+ binary_location = [searchpath{n} filesep name];
if exist(binary_location, 'file')
return
end