diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-02-14 08:28:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-02-14 08:28:15 +0200 |
commit | 8ba44e171badf368ae56cda59343bde9f11457f9 (patch) | |
tree | 51c3d46acb006277245e32900f790aec7d0ce464 | |
parent | fdf5d0b35b2b9c19136437af97b687b34fc740ea (diff) |
Recognize UNLICENSE file in addition to LICENSE in bdep-new
-rw-r--r-- | bdep/new.cxx | 4 |
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); |