diff options
author | Hossein <hossein@libreoffice.org> | 2023-09-16 03:05:34 +0200 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2023-09-20 14:23:33 +0200 |
commit | a34dcd03254480927c403d904c0e754802d97b90 (patch) | |
tree | 54b54ab53a1d69360985ea5a76a36d3f893948db /bin/run | |
parent | 6ae1c47fa1033619bf191a0f4228394ff90f5df6 (diff) |
Prepend instdir/program to the PATH in bin/run
To avoid problems described in 21cf443235bf6579959988edee325e8332a42f9f,
do not change directory.
Change-Id: I56590c4728a6505c089a5bc06bed2a31a0cd0362
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156973
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'bin/run')
-rwxr-xr-x | bin/run | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -71,9 +71,8 @@ if uname | grep -i CYGWIN >/dev/null; then exedir=$(cygpath -m "${dir}"/workdir/LinkTarget/Executable) export URE_BOOTSTRAP=file:///$(cygpath -m "${dir}")/instdir/program/fundamental.ini - export PATH=${PATH:+$PATH:}"${dir}"/instdir/program + export PATH="${dir}/instdir/program${PATH:+:$PATH}" SEARCH_PATH="${PATH}" - cd instdir/program elif [ $(uname) = Darwin ]; then |