diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-11-02 16:56:35 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-11-02 20:38:57 +0300 |
commit | a1d00de1408b36b6b68d18d1c1e1fba7df1add49 (patch) | |
tree | c6add78f6380f9325648be5698da10c311ed2e9b /libbuild2/version | |
parent | 809123f03100ee9ed90d31424304c22ba28e842c (diff) |
Set executable bit for ad hoc buildscript rule executable target on POSIX
Diffstat (limited to 'libbuild2/version')
-rw-r--r-- | libbuild2/version/utility.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/version/utility.cxx b/libbuild2/version/utility.cxx index 4b958c6..5e2375d 100644 --- a/libbuild2/version/utility.cxx +++ b/libbuild2/version/utility.cxx @@ -7,6 +7,7 @@ #include <libbutl/manifest-serializer.mxx> #include <libbuild2/context.hxx> +#include <libbuild2/filesystem.hxx> // path_perms() #include <libbuild2/diagnostics.hxx> using namespace butl; @@ -27,7 +28,7 @@ namespace build2 { try { - permissions perm (path_permissions (in)); + permissions perm (path_perms (in)); ifdstream ifs (in); manifest_parser p (ifs, in.string ()); |