[Koha-bugs] [Bug 25752] Current directory not kept when using koha-shell
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 3 16:07:52 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25752
--- Comment #9 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Jonathan Druart from comment #7)
> Looks ok for me
>
> With sudo:
> root at f62733f90b41:koha(BZ25752)$ sudo koha-shell kohadev
> kohadev-koha at f62733f90b41:/kohadevbox/koha$ pwd
> /kohadevbox/koha
> kohadev-koha at f62733f90b41:/kohadevbox/koha$ exit
> root at f62733f90b41:koha(BZ25752)$ sudo koha-shell kohadev -c pwd
> /kohadevbox/koha
>
> Without sudo:
> root at f62733f90b41:koha(BZ25752)$ koha-shell kohadev
> kohadev-koha at f62733f90b41:/kohadevbox/koha$ pwd
> /kohadevbox/koha
> root at f62733f90b41:koha(BZ25752)$ koha-shell kohadev -c pwd
> /kohadevbox/koha
Well, of course if you are running koha-shell from the home directory of
kohadev-koha, the result will be the same.
Try:
# cd /tmp
# koha-shell -c pwd
# koha-shell
# pwd
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list