X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fblock_replacer%2Fgpl2apache.sh;h=b9450d0be49fc35d7dc3e328f1c3ef9f521cf0d4;hp=a1ef8df075261fb0679024a473c3cbb06a6e711d;hb=HEAD;hpb=79f5ba9bf7656972dd988508eff9465562dde42c diff --git a/resources/tools/block_replacer/gpl2apache.sh b/resources/tools/block_replacer/gpl2apache.sh index a1ef8df075..b9450d0be4 100644 --- a/resources/tools/block_replacer/gpl2apache.sh +++ b/resources/tools/block_replacer/gpl2apache.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -# Copyright (c) 2020 Cisco and/or its affiliates. +# Copyright (c) 2021 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -25,3 +25,6 @@ fi find "${1}" \( -name "*.py" -o -name "*.sh" \) -print0 | xargs -0 \ python3 replace.py "gpl_block.txt" "apache_block.txt" + +find "${1}" \( -name "*.py" -o -name "*.sh" \) -print0 | xargs -0 \ +python3 replace.py "gpl_long_block.txt" "apache_block.txt"