From be253aeff98db974f4499ed44f6915b27429731a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 May 2013 01:43:22 -0400 Subject: [PATCH] add a runshell script to the top of the app directory This is mostly useful when you have adb with root access, to easily start the git-annex environment in there. --- standalone/android/runshell | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/standalone/android/runshell b/standalone/android/runshell index 1e5ec1b73f..61e8301a12 100755 --- a/standalone/android/runshell +++ b/standalone/android/runshell @@ -49,6 +49,10 @@ buildtree () { $cmd mkdir -p "$base/templates" $cmd mkdir -p "$base/tmp" + echo "#!/system/bin/sh" > "$base/runshell" + echo "exec $base/lib/lib.start.so" >> "$base/runshell" + chmod 755 runshell + $cmd cat "$base/lib/lib.version.so" > "$base/installed-version" $cmd echo "Installation complete" }