start in HOME

This commit is contained in:
Joey Hess 2013-02-21 17:09:03 -04:00
parent d557c2673b
commit fede34ff62

View file

@ -8,12 +8,14 @@ set -e
orig="$(pwd)"
cd "$0/../.."
base="$(pwd)"
cd "$orig"
# Cannot rely on Android providing a sane HOME
HOME="/sdcard/git-annex.home"
export HOME
# As good a start point as any.
cd "$HOME"
setup () {
echo "Installation starting to $base"
mkdir -p "$base/bin"