summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-13 14:32:02 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-13 14:32:02 -0400
commitebfc2dbbf815bd59a3e6d57365ae60ad8af16506 (patch)
tree0cac86696728ae9e59121c53fc804950f538e89a
parent3c0601bbffddea26a81ce60c0a30c25daed78551 (diff)
tweak android runshell after testing
-rwxr-xr-xstandalone/android/runshell5
1 files changed, 3 insertions, 2 deletions
diff --git a/standalone/android/runshell b/standalone/android/runshell
index 32d0479a4..b2cb8ee2f 100755
--- a/standalone/android/runshell
+++ b/standalone/android/runshell
@@ -4,7 +4,7 @@
set -e
-base="$(dirname $0)"
+base="$(dirname $0)"/git-annex-bundle
if [ ! -d "$base" ]; then
echo "** cannot find base directory (I seem to be $0)" >&2
@@ -22,6 +22,7 @@ fi
# Install busybox links.
if [ ! -e "$base/bin/sh" ]; then
+ echo "(First run detected ... setting up busybox ...)"
"$base/bin/busybox" --install "$base/bin"
fi
@@ -32,7 +33,7 @@ base="$(pwd)"
cd "$orig"
# Put our binaries first, to avoid issues with out of date or incompatable
-# system binaries.
+# system or App binaries.
ORIG_PATH="$PATH"
export ORIG_PATH
PATH=$base/bin:$PATH