From 88678551f1e9871def5a8eaae017fd8c464203b8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 24 Jul 2018 11:35:25 +0200 Subject: Make exe{} target default to no extension rather than fail This just keep breaking (this time for exe{}: in{} match during distribution). So we assume rules will assign the target platform extension if necessary and if not, then we default to no extension (e.g., a shell script). --- build2/in/rule.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'build2/in') diff --git a/build2/in/rule.cxx b/build2/in/rule.cxx index 41f2f71..5ec95f3 100644 --- a/build2/in/rule.cxx +++ b/build2/in/rule.cxx @@ -55,10 +55,7 @@ namespace build2 // Derive the file name. // - // If this is an executable with an unspecified extension, then default - // to no extension (i.e., a shell script). - // - t.derive_path (t.is_a () ? "" : nullptr); + t.derive_path (); // Inject dependency on the output directory. // -- cgit v1.1