diff --git a/scripts/install-android-prebuilt.sh b/scripts/install-android-prebuilt.sh index 4436881373c..555ef054d35 100755 --- a/scripts/install-android-prebuilt.sh +++ b/scripts/install-android-prebuilt.sh @@ -1,4 +1,3 @@ -@@ -0,0 1,85 @@ #!/bin/bash # # This script signs already built AOSP Android jars, and installs them in your local @@ -20,11 +19,6 @@ if [[ $# -ne 3 ]]; then exit 1 fi -read -p "Please set the GPG passphrase: " -s signingPassphrase -if [[ -z "${signingPassphrase}" ]]; then - exit 1 -fi - JAR_DIR=$(readlink -e "$1") ANDROID_VERSION="$2" ROBOLECTRIC_SUB_VERSION="$3" @@ -53,7 +47,7 @@ build_signed_packages() { echo "Robolectric: Signing files with gpg..." for ext in ".jar" "-javadoc.jar" "-sources.jar" ".pom"; do - ( cd ${JAR_DIR} && gpg -ab --passphrase ${signingPassphrase} android-all-${ROBOLECTRIC_VERSION}$ext ) + ( cd ${JAR_DIR} && gpg -ab android-all-${ROBOLECTRIC_VERSION}$ext ) done echo "Robolectric: Creating bundle for Sonatype upload..." @@ -90,4 +84,4 @@ generate_empty_javadoc build_signed_packages mavenize -echo "DONE!!" \ No newline at end of file +echo "DONE!!"