tweak android runshell after testing
This commit is contained in:
parent
43f8b8873a
commit
242c83e66f
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
base="$(dirname $0)"
|
base="$(dirname $0)"/git-annex-bundle
|
||||||
|
|
||||||
if [ ! -d "$base" ]; then
|
if [ ! -d "$base" ]; then
|
||||||
echo "** cannot find base directory (I seem to be $0)" >&2
|
echo "** cannot find base directory (I seem to be $0)" >&2
|
||||||
|
@ -22,6 +22,7 @@ fi
|
||||||
|
|
||||||
# Install busybox links.
|
# Install busybox links.
|
||||||
if [ ! -e "$base/bin/sh" ]; then
|
if [ ! -e "$base/bin/sh" ]; then
|
||||||
|
echo "(First run detected ... setting up busybox ...)"
|
||||||
"$base/bin/busybox" --install "$base/bin"
|
"$base/bin/busybox" --install "$base/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -32,7 +33,7 @@ base="$(pwd)"
|
||||||
cd "$orig"
|
cd "$orig"
|
||||||
|
|
||||||
# Put our binaries first, to avoid issues with out of date or incompatable
|
# Put our binaries first, to avoid issues with out of date or incompatable
|
||||||
# system binaries.
|
# system or App binaries.
|
||||||
ORIG_PATH="$PATH"
|
ORIG_PATH="$PATH"
|
||||||
export ORIG_PATH
|
export ORIG_PATH
|
||||||
PATH=$base/bin:$PATH
|
PATH=$base/bin:$PATH
|
||||||
|
|
Loading…
Reference in a new issue