mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01: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
@ -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 New Issue
Block a user