replicant-vendor_replicant/get-prebuilts
Brandon Bennett 57c3b194e1 Allow get-prebuilts to work from any CWD
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
2012-01-02 18:58:50 -07:00

13 lines
492 B
Plaintext
Executable File

BASEDIR=`dirname $0`
mkdir -p $BASEDIR/proprietary
# Get ROM Manager
curl -L -o $BASEDIR/proprietary/RomManager.apk -O -L http://download.clockworkmod.com/recoveries/RomManager.apk
# Get Android Terminal Emulator (we use a prebuilt so it can update from the Market)
curl -L -o $BASEDIR/proprietary/Term.apk -O -L https://github.com/downloads/jackpal/Android-Terminal-Emulator/Term.apk
unzip -o -d $BASEDIR/proprietary $BASEDIR/proprietary/Term.apk lib/armeabi/libjackpal-androidterm3.so