get-prebuilts: Use https for Term.apk fetch

* Use secure protocol when fetching prebuilt APKs to avoid a MITM attack
  that could send a malicious APK instead.

Change-Id: If9dfc8bdc6f5a8ac360f40fe3fb423455082d224
This commit is contained in:
Kyle Manna 2014-09-21 07:00:56 -07:00
parent b5f9251f3b
commit e410bbb69e
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ BASEDIR=`dirname $0`
mkdir -p $BASEDIR/proprietary
# Get Android Terminal Emulator (we use a prebuilt so it can update from the Market)
curl -L -o $BASEDIR/proprietary/Term.apk -O -L http://jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk
curl -L -o $BASEDIR/proprietary/Term.apk -O -L https://jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk
unzip -o -d $BASEDIR/proprietary $BASEDIR/proprietary/Term.apk lib/*