Created
January 10, 2016 18:09
-
-
Save kstep/f9f99cca7ae9cc3d2e16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --referer=https://github.com https://raw.githubusercontent.com/rust-lang/rust/master/LICENSE-APACHE || exit 1 | |
wget --referer=https://github.com https://raw.githubusercontent.com/rust-lang/rust/master/LICENSE-MIT || exit 1 | |
sed -i -e 's_^license =.*$_license = "MIT/Apache-2.0"_' Cargo.toml | |
cat <<LICENSE >> README.md | |
## License | |
Licensed under either of | |
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) | |
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | |
at your option. | |
### Contribution | |
Unless you explicitly state otherwise, any contribution intentionally submitted | |
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any | |
additional terms or conditions. | |
LICENSE | |
git add ./LICENSE-APACHE ./LICENSE-MIT ./README.md ./Cargo.toml | |
git commit -m "update license to MIT/Apache-2.0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment