When fetching prebuilt binaries from f-droid.org, we were using http,
but are now redirected to a https URI - unless a MITM attacker gets
there first...
Change to unconditionally use https to fetch prebuilt binaries.
While here, set -e so that failure to download any file is not ignored.
Term.apk now contains JNI shared ojbects for all architectures.
Currectly, the script would only extract and copy armeabi object.
Change the script to extract all object and copy the correct ABI
object to the filesystem.
Change-Id: I167eafab523a4104063fec89b7ba136031c1d07c
Signed-off-by: Rocky Zhang <zhangyan.hit@gmail.com>
The unzip command in get-prebuilts assumed that the CWD
as ./vendor/cm. This changes allows it to work from any
CWD so now you can do
./vendor/cm/get-prebuilts
instead of
cd ./vendor/cm && ./get-prebuilts
Change-Id: I705191fd84c3ffda6b2e81b7ea7518327cce8081