From 8ba44e171badf368ae56cda59343bde9f11457f9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 14 Feb 2020 08:28:15 +0200 Subject: Recognize UNLICENSE file in addition to LICENSE in bdep-new --- bdep/new.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bdep/new.cxx b/bdep/new.cxx index e4f3dd6..c4010fa 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -765,9 +765,9 @@ namespace bdep info << "using generic summary in manifest"; } - // LICENSE + // LICENSE or UNLICENSE // - if (exists ((f = out / "LICENSE"))) + if (exists ((f = out / "LICENSE")) || exists ((f = out / "UNLICENSE"))) { license_e = extract_license (f); -- cgit v1.1