From d647e561c1aa1c20e3e538839cf893fd03d2b809 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Sat, 11 Aug 2018 14:10:49 -0700 Subject: [PATCH] spurious afl-3.0 indent no longer present --- script/vendor-license-text | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/script/vendor-license-text b/script/vendor-license-text index c1e8ce6..8763e08 100755 --- a/script/vendor-license-text +++ b/script/vendor-license-text @@ -20,10 +20,7 @@ site.collections['licenses'].docs.each do |license| text_file = File.join(text_dir, "#{license.data['spdx-id']}#{only}.txt") spdx_text = File.read(text_file) - if license_key == 'afl-3.0' - # https://github.com/spdx/license-list/pull/20 - spdx_text = spdx_text.gsub(/^ 4\)/, '4)') - elsif ['bsd-2-clause', 'bsd-3-clause'].include? license_key + if ['bsd-2-clause', 'bsd-3-clause'].include? license_key spdx_text = spdx_text.gsub(//, '[year]') spdx_text = spdx_text.gsub(//, '[fullname]') elsif license_key == 'bsd-3-clause-clear'