Skip to content

Commit

Permalink
Return unescaped paths when searching for library files
Browse files Browse the repository at this point in the history
  • Loading branch information
aliu authored and KyleMayes committed May 27, 2024
1 parent c284198 commit 341ce9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ fn search_directory(directory: &Path, filenames: &[String]) -> Vec<(PathBuf, Str
return None;
}

Some((directory.to_owned(), filename.into()))
Some((path.parent().unwrap().to_owned(), filename.into()))
})
.collect::<Vec<_>>()
}
Expand Down

0 comments on commit 341ce9d

Please sign in to comment.