Skip to content

Instantly share code, notes, and snippets.

@Thynix
Created July 20, 2015 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Thynix/868f221e6695d7401025 to your computer and use it in GitHub Desktop.
Save Thynix/868f221e6695d7401025 to your computer and use it in GitHub Desktop.
#!/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