treefile: Fix octal mode for rojig spec too
Going to need to see if clippy or something has a way for us to reject leading `0`. Closes: #1756 Approved by: jlebon
This commit is contained in:
parent
9ca74d0c31
commit
85ab9c3181
@ -399,7 +399,7 @@ impl Treefile {
|
||||
.unwrap_or(r.summary.as_str());
|
||||
let name: String = format!("{}.spec", r.name);
|
||||
{
|
||||
let mut f = workdir.write_file(name.as_str(), 0644)?;
|
||||
let mut f = workdir.write_file(name.as_str(), 0o644)?;
|
||||
write!(
|
||||
f,
|
||||
r###"
|
||||
|
Loading…
Reference in New Issue
Block a user