Fix set_permissions call for non-windows
This commit is contained in:
parent
41d540fcb7
commit
577ac2f836
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ fn recv<B: BufRead>(dir: &Path, io: &mut B) -> PathBuf {
|
|||
|
||||
#[cfg(not(windows))]
|
||||
fn set_permissions(path: &Path) {
|
||||
t!(fs::set_permissions(&dst, Permissions::from_mode(0o755)));
|
||||
t!(fs::set_permissions(&path, Permissions::from_mode(0o755)));
|
||||
}
|
||||
#[cfg(windows)]
|
||||
fn set_permissions(_path: &Path) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue