aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/science/electronics/csxcad/searchPath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/science/electronics/csxcad/searchPath.patch')
-rw-r--r--nixpkgs/pkgs/applications/science/electronics/csxcad/searchPath.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/electronics/csxcad/searchPath.patch b/nixpkgs/pkgs/applications/science/electronics/csxcad/searchPath.patch
new file mode 100644
index 00000000000..2fc0d77b320
--- /dev/null
+++ b/nixpkgs/pkgs/applications/science/electronics/csxcad/searchPath.patch
@@ -0,0 +1,11 @@
+--- 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