]> git.koha-community.org Git - koha.git/commit
Bug 25752: Stay in cwd after koha-shell
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jun 2020 14:11:49 +0000 (16:11 +0200)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Fri, 11 Dec 2020 16:18:17 +0000 (17:18 +0100)
commit7c6e665b1c3b002b0a446ef2d4eb384092631f6b
tree3e8cac159a749ab16d40fcf6d708c9aaef480048
parent6e432f6eeecfd20e10cb533cebe7209bccd20cf0
Bug 25752: Stay in cwd after koha-shell

After bug 25538, after a koha-shell we are not longer in the current directory:

root@cec7bffd8100:koha(master)$ pwd
/kohadevbox/koha
root@cec7bffd8100:koha(master)$ sudo koha-shell kohadev
kohadev-koha@cec7bffd8100:~$ pwd
/var/lib/koha/kohadev

Test plan:
Repeat the commands above and confirm that with this version of the
script you get /kohadevbox/koha inside the koha-shell

Search for possible regressions

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7555ecaafa3bd8bbf0514f3c2672cb41ff7e0aa7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ad985def456ec0312d76baa95bd04351940b58fb)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
debian/scripts/koha-shell