commit | 54d8157b99386f151f2320ef1db3954cfdf9df32 | [log] [tgz] |
---|---|---|
author | Alexander Koskovich <akoskovich@pm.me> | Wed May 18 09:08:50 2022 -0700 |
committer | SamarV-121 <samarvispute121@pm.me> | Wed Dec 14 12:10:57 2022 +0530 |
tree | f56e207147203bb8490bddf2ebbab68ce77ec23e | |
parent | c156178ea782167e5e0ccba32cf77149cb43ab72 [diff] |
RM6785: Switch to SPDX license identifiers SamarV-121: grep -rnl 'Licensed under the Apache' | while read -r file; do comm=$(grep 'Licensed' "$file" | awk '{print $1}') [ "$comm" = '*' ] && comm=' *' grep -q ' Licensed' "$file" && comm=' ' sed -i "/Licensed/,/limitations under the License/c\\""$comm"" SPDX-License-Identifier: Apache-2.0" "$file" done Change-Id: Ib95789a0286785ba3b0b6df265291e87a13d2ef8