aboutsummaryrefslogtreecommitdiff
path: root/textproc/meilisearch/files/patch-cargo-crates_lindera-ipadic-0.30.0_build.rs
blob: 9a3a9cae53a13e62143d271508b3464cf8f715b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- cargo-crates/lindera-ipadic-0.30.0/build.rs.orig	2006-07-24 01:21:28 UTC
+++ cargo-crates/lindera-ipadic-0.30.0/build.rs
@@ -55,7 +55,7 @@ fn main() -> Result<(), Box<dyn Error>> {
         dummy_matrix_def.write_all(b"0 1 0\n")?;
     } else {
         // Source file path for build package
-        let source_path_for_build = Path::new(&build_dir).join(file_name);
+        let source_path_for_build = Path::new("%%DISTDIR%%").join(file_name);
 
         // Download source file to build directory
         if !source_path_for_build.exists() {