commit | 079a9738ebf39397b2b95b779ff051405d25bc5c | [log] [tgz] |
---|---|---|
author | Lars Vogel <Lars.Vogel@vogella.com> | Fri Aug 17 14:15:32 2018 +0200 |
committer | Lars Vogel <Lars.Vogel@vogella.com> | Fri Aug 17 14:15:32 2018 +0200 |
tree | cb3cabe9b7dbeb4a5f861d44ac16c26732f24698 | |
parent | de9e37e19ddcfd935b3f5a1ce67f0ed655d5067f [diff] |
Bug 535802 - Update license to EPL-2.0 in our source files This affects all files except the .exsd , the "org.eclipse.jdt.ui.prefs" and the pom.xml files. Regular expression used: find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i 's/Eclipse Public License v1.0/Eclipse Public License 2.0/g' {} + find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)http:\/\/www.eclipse.org\/legal\/epl-v10.html/\1\2https:\/\/www.eclipse.org\/legal\/epl-2.0\/\ \1\ \1\2SPDX-License-Identifier: EPL-2.0/' {} + # Get rid of the All rights reserved find . -type f ! -name "*.exsd" ! -name "org.eclipse.jdt.ui.prefs" ! -name "pom.xml" -exec sed -i -E 's/([[:blank:]]*[^[:blank:]])*([[:blank:]]*)(All rights reserved. )/\1\n\1\2/' {} + Change-Id: I9ca35a0f032a75a181f7dc6268989d848a210963 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>