blob: 6d5a8ca3c33167f74db927fd6e68e63b374f19e8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/system/bin/sh
spath=$( cd "$(dirname "$0")" ; pwd -P )
cd $spath
source run.common
# Directly execute a command within the chroot of an Android device
CMD="$*"
chroot debian /bin/bash --rcfile '.bashrc.silent' -i -c "$CMD"
|