From 4c7f38fc2c0ffdf1b1dd9ccec6054e225c11fb5b Mon Sep 17 00:00:00 2001 From: "branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e" Date: Sun, 12 May 2019 17:02:07 +0000 Subject: [PATCH] --- ...__39__t_permanently_add_to___36__PATH.mdwn | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 doc/bugs/Android_install_doesn__39__t_permanently_add_to___36__PATH.mdwn diff --git a/doc/bugs/Android_install_doesn__39__t_permanently_add_to___36__PATH.mdwn b/doc/bugs/Android_install_doesn__39__t_permanently_add_to___36__PATH.mdwn new file mode 100644 index 0000000000..be717d6d27 --- /dev/null +++ b/doc/bugs/Android_install_doesn__39__t_permanently_add_to___36__PATH.mdwn @@ -0,0 +1,29 @@ +### Please describe the problem. + +The install script [[install/Android/git-annex-install]] only adds an entry to `$PATH` which lasts for as long as the shell used for the install. Subsequent launches of termux will not find `git-annex` on the `$PATH`. + +I'm puzzled why this hasn't been reported before. Is everyone on Android manually running `./git-annex.linux/git-annex ...` each time, or have they manually set up `$PATH` in their Termux shell profile without reporting back to the community, or am I missing something else? + +### What steps will reproduce the problem? + +- Install `git-annex` on Android as per [[Android]] +- Quit the shell used during install +- Relaunch termux +- Try to run `git-annex` + +### What version of git-annex are you using? On what operating system? + +6.20180927-gc5b6c55af on Android P + +I know this is probably old now but I can't see any evidence the installer fixed this issue since I last tried. Happy to be told I'm wrong. + +### Please provide any additional information below. + +[[!format sh """ +% git annex +git: 'annex' is not a git command. See 'git --help'. +"""]] + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + +Yes, been using it for many years and couldn't live without it.