blob: ed9df0644af6cecbec2884b07cf55e5ac953de5f [file] [log] [blame]
# Copy Quake's data files from perforce to the Android device's data directory.
# Based on
# This funcion is copied from
function gettop
echo $TOP
if [ -z "$T" ] ; then
echo "please run your script"
exit 1
echo "top found at $T"
echo "Creating Quake directories on the device"
adb shell mkdir /data
adb shell mkdir /data/quake
adb shell mkdir /data/quake/id1
echo "Copying Quake data files to the device. (This could take several minutes)"
adb push $T/external/quake/quake/app/id1 /data/quake/id1
echo "Done."