mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Fix build on OpenBSD (#12111)
# Description Apply the same fix as [#11823](https://github.com/nushell/nushell/pull/11823) for OpenBSD.
This commit is contained in:
parent
48fca1c151
commit
ce116b5d5f
1 changed files with 6 additions and 3 deletions
|
@ -299,7 +299,8 @@ fn make_attributes(preserve: Option<Value>) -> Result<uu_cp::Attributes, ShellEr
|
|||
target_os = "freebsd",
|
||||
target_os = "android",
|
||||
target_os = "macos",
|
||||
target_os = "netbsd"
|
||||
target_os = "netbsd",
|
||||
target_os = "openbsd"
|
||||
))]
|
||||
ownership: ATTR_UNSET,
|
||||
mode: ATTR_UNSET,
|
||||
|
@ -320,7 +321,8 @@ fn make_attributes(preserve: Option<Value>) -> Result<uu_cp::Attributes, ShellEr
|
|||
target_os = "freebsd",
|
||||
target_os = "android",
|
||||
target_os = "macos",
|
||||
target_os = "netbsd"
|
||||
target_os = "netbsd",
|
||||
target_os = "openbsd"
|
||||
))]
|
||||
ownership: ATTR_UNSET,
|
||||
timestamps: ATTR_UNSET,
|
||||
|
@ -362,7 +364,8 @@ fn parse_and_set_attribute(
|
|||
target_os = "freebsd",
|
||||
target_os = "android",
|
||||
target_os = "macos",
|
||||
target_os = "netbsd"
|
||||
target_os = "netbsd",
|
||||
target_os = "openbsd"
|
||||
))]
|
||||
"ownership" => &mut attribute.ownership,
|
||||
"timestamps" => &mut attribute.timestamps,
|
||||
|
|
Loading…
Reference in a new issue