From 992ad671c512c777abf2280c369c8e53c5f68c60 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 May 2013 01:43:22 -0400 Subject: 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(+) (limited to 'standalone') diff --git a/standalone/android/runshell b/standalone/android/runshell index 1e5ec1b73..61e8301a1 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" } -- cgit v1.2.3