Android: Work around Android devices where the am command doesn't work.

This commit is contained in:
Joey Hess 2013-05-31 21:28:37 -04:00
parent b325524b0f
commit a48d340abd
8 changed files with 166 additions and 34 deletions

View file

@ -116,12 +116,17 @@ run () {
fi
}
if ! prep; then
$cmd echo "prep failed. Please report a bug."
read line
if $cmd test -n "$MKFIFO"; then
# because java is insane
$cmd mkfifo "$MKFIFO"
else
if ! prep; then
$cmd echo "prep failed. Please report a bug."
read line
fi
if ! install; then
$cmd echo "install failed. Please report a bug."
read line
fi
run
fi
if ! install; then
$cmd echo "install failed. Please report a bug."
read line
fi
run