Merge "LatinIME: Update all dicts for ICS" into ics
diff --git a/get-prebuilts b/get-prebuilts
index 729ea96..7ced7bf 100755
--- a/get-prebuilts
+++ b/get-prebuilts
@@ -1,9 +1,12 @@
-mkdir -p `dirname $0`/proprietary
+
+BASEDIR=`dirname $0`
+
+mkdir -p $BASEDIR/proprietary
# Get ROM Manager
-curl -L -o `dirname $0`/proprietary/RomManager.apk -O -L http://download.clockworkmod.com/recoveries/RomManager.apk
+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 `dirname $0`/proprietary/Term.apk -O -L https://github.com/downloads/jackpal/Android-Terminal-Emulator/Term.apk
-unzip -o -d proprietary proprietary/Term.apk lib/armeabi/libjackpal-androidterm3.so
+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