Prepend instdir/program to the PATH in bin/run

To avoid problems described in 21cf443235,
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>
This commit is contained in:
Hossein 2023-09-16 03:05:34 +02:00
parent 6ae1c47fa1
commit a34dcd0325

View file

@ -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