]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 9 Jul 2020 09:50:42 +0000 (11:50 +0200)
commit7555ecaafa3bd8bbf0514f3c2672cb41ff7e0aa7
tree893e44836cba6c72674ff85172da5493f4959cdb
parent2ab6018b6e14ae2153093db148f04f71405f4493
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>
debian/scripts/koha-shell