aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-02-14 08:28:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-02-14 08:28:15 +0200
commit8ba44e171badf368ae56cda59343bde9f11457f9 (patch)
tree51c3d46acb006277245e32900f790aec7d0ce464
parentfdf5d0b35b2b9c19136437af97b687b34fc740ea (diff)
Recognize UNLICENSE file in addition to LICENSE in bdep-new
-rw-r--r--bdep/new.cxx4
1 files 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);