diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-27 08:52:44 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-27 08:52:44 -0500 |
commit | 2580fe708393970026c1aaa97b65609db0efa82a (patch) | |
tree | f4a1cb75ab46736bcd9ab88cbb565f648ee4d618 /hscript | |
parent | b4215cbbf297a79dc70e8c2cde85b849033cb144 (diff) | |
download | horizon-2580fe708393970026c1aaa97b65609db0efa82a.tar.gz horizon-2580fe708393970026c1aaa97b65609db0efa82a.tar.bz2 horizon-2580fe708393970026c1aaa97b65609db0efa82a.tar.xz horizon-2580fe708393970026c1aaa97b65609db0efa82a.zip |
hscript: Fix single boost portability issue
Diffstat (limited to 'hscript')
-rw-r--r-- | hscript/disk.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc index f66c1e0..aafa08c 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -587,11 +587,10 @@ bool Mount::execute(ScriptOptions options) const { ec.message()); return false; } - fs::permissions("/target/etc", - fs::perms::owner_all | - fs::perms::group_read | fs::perms::group_exec | - fs::perms::others_read | fs::perms::others_exec, + fs::permissions("/target/etc", rwxr_xr_x, + #if defined(FS_IS_STDCXX) fs::perm_options::replace, + #endif ec); if(ec) { output_warning("installfile:" + std::to_string(this->lineno()), |