Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
echo Updating wrapper.conf to bouncycastle 1.52
echo "Starting with:"
grep bcprov-jdk15on wrapper.conf
cat wrapper.conf | sed "s/bcprov-jdk15on-147/bcprov-jdk15on-152/" > wrapper.conf.new
cat wrapper.conf | sed "s/bcprov-jdk15on-149/bcprov-jdk15on-152/" > wrapper.conf.new
cat wrapper.conf | sed "s/bcprov-jdk15on-151/bcprov-jdk15on-152/" > wrapper.conf.new
echo "Ending with:"
grep bcprov-jdk15on wrapper.conf.new
mv wrapper.conf.new wrapper.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.