diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-02 01:43:22 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-02 01:43:22 -0400 |
commit | 992ad671c512c777abf2280c369c8e53c5f68c60 (patch) | |
tree | c325580b31c43359cd2e7ae7945ce26ee6247c07 /standalone | |
parent | 68c4cd55b456a692591055606688c9f53b0ba8b0 (diff) |
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.
Diffstat (limited to 'standalone')
-rwxr-xr-x | standalone/android/runshell | 4 |
1 files changed, 4 insertions, 0 deletions
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" } |