We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa5068f commit 8823c22Copy full SHA for 8823c22
src/cmd/dol.rs
@@ -2067,7 +2067,8 @@ pub fn find_object_base(config: &ProjectConfig) -> Result<ObjectBase> {
2067
// Search for disc images in the object base directory
2068
for result in fs::read_dir(&base)? {
2069
let entry = result?;
2070
- if entry.file_type()?.is_file() {
+ // Use fs::metadata to follow symlinks
2071
+ if fs::metadata(entry.path())?.file_type().is_file() {
2072
let path = check_path_buf(entry.path())?;
2073
let mut file = open_file(&path, false)?;
2074
let format = nodtool::nod::Disc::detect(file.as_mut())?;
0 commit comments