diff options
author | Kenny Root <kroot@google.com> | 2013-12-11 16:35:05 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2013-12-12 16:48:48 -0800 |
commit | 5db505e1f6a68c8d5dfdb0fed0b8607dea7bed96 (patch) | |
tree | ba9d9a42f9ed5478b4205c83c13a0e94b55a8c6c /import_bouncycastle.sh | |
parent | c0444a1be12b67cbad8b4858f0d65a0d75db15a9 (diff) | |
download | android_external_bouncycastle-5db505e1f6a68c8d5dfdb0fed0b8607dea7bed96.tar.gz android_external_bouncycastle-5db505e1f6a68c8d5dfdb0fed0b8607dea7bed96.tar.bz2 android_external_bouncycastle-5db505e1f6a68c8d5dfdb0fed0b8607dea7bed96.zip |
Upgrade to Bouncycastle 1.50
SHA256 sums of source packages:
0be5bb948ec481b3d1f30ee80ef593b298b3782697f9eeee5c74cf270689b520 bcpkix-jdk15on-150.tar.gz
468259c9166fbcf87ad284ae46fae45408cb7cfc9c406862ea75d5b8696f4f2a bcprov-jdk15on-150.tar.gz
Change-Id: Id566e9137f85d8328e9f0cb0472ff2f6ae7a71d3
Diffstat (limited to 'import_bouncycastle.sh')
-rwxr-xr-x | import_bouncycastle.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/import_bouncycastle.sh b/import_bouncycastle.sh index ed278d8..0dfe484 100755 --- a/import_bouncycastle.sh +++ b/import_bouncycastle.sh @@ -28,6 +28,8 @@ set -e trap "echo WARNING: Exiting on non-zero subprocess exit code" ERR; +cd $(dirname $0) + function die() { declare -r message=$1 @@ -57,7 +59,7 @@ function main() { die "bouncycastle.version not found" fi - source bouncycastle.version + source ./bouncycastle.version if [ "$BOUNCYCASTLE_JDK" == "" -o "$BOUNCYCASTLE_VERSION" == "" ]; then die "Invalid bouncycastle.version; see README.android for more information" fi @@ -72,7 +74,7 @@ function main() { die "bouncycastle.config not found" fi - source bouncycastle.config + source ./bouncycastle.config if [ "$UNNEEDED_BCPROV_SOURCES" == "" -o "$NEEDED_BCPROV_SOURCES" == "" \ -o "$UNNEEDED_BCPKIX_SOURCES" == "" -o "$NEEDED_BCPKIX_SOURCES" == "" ]; then die "Invalid bouncycastle.config; see README.android for more information" |