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/dist | |
parent | 809123f03100ee9ed90d31424304c22ba28e842c (diff) |
Set executable bit for ad hoc buildscript rule executable target on POSIX
Diffstat (limited to 'libbuild2/dist')
-rw-r--r-- | libbuild2/dist/operation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/dist/operation.cxx b/libbuild2/dist/operation.cxx index 21d5283..2fa953d 100644 --- a/libbuild2/dist/operation.cxx +++ b/libbuild2/dist/operation.cxx @@ -649,7 +649,7 @@ namespace build2 // args.push_back ("-m"); args.push_back ( - (path_permissions (t.path ()) & permissions::xu) == permissions::xu + (path_perms (t.path ()) & permissions::xu) == permissions::xu ? "755" : "644"); |