fix 2 bugs in android runshell
This commit is contained in:
parent
967f3b14e0
commit
6a52a47193
4 changed files with 5 additions and 5 deletions
|
@ -54,7 +54,7 @@ buildtree () {
|
|||
}
|
||||
|
||||
install () {
|
||||
if $cmd test ! -e "$base/git-annex"; then
|
||||
if $cmd test ! -e "$base/bin/git-annex"; then
|
||||
if ! $cmd mkdir -p "$HOME"; then
|
||||
$cmd echo "mkdir of $HOME failed!"
|
||||
fi
|
||||
|
@ -100,7 +100,7 @@ run () {
|
|||
shift 1
|
||||
exec "$cmd" "$@"
|
||||
else
|
||||
if $cmd test -e "$HOME/.config/git-annex/autostart; then
|
||||
if $cmd test -e "$HOME/.config/git-annex/autostart"; then
|
||||
git annex assistant --autostart || $cmd true
|
||||
fi
|
||||
/system/bin/sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue