Skip to content

Commit

Permalink
fixup! compose+rust: Parse includes via Rust too
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Oct 3, 2018
1 parent 712b8a3 commit eb6ad46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/treefile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ impl Treefile {
workdir: openat::Dir,
) -> io::Result<Box<Treefile>> {
let parsed = treefile_parse_recurse(filename, arch, 0)?;
let dfd = openat::Dir::open(filename.parent().unwrap_or_else(|| Path::new("/")))?;
let dfd = openat::Dir::open(filename.parent().unwrap())?;
let rojig_spec = if let &Some(ref rojig) = &parsed.config.rojig {
Some(Treefile::write_rojig_spec(&workdir, rojig)?)
} else {
Expand Down

0 comments on commit eb6ad46

Please sign in to comment.