From a1d00de1408b36b6b68d18d1c1e1fba7df1add49 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 2 Nov 2020 16:56:35 +0300 Subject: Set executable bit for ad hoc buildscript rule executable target on POSIX --- libbuild2/version/utility.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbuild2/version') 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 #include +#include // path_perms() #include 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 ()); -- cgit v1.1