[Libreoffice-commits] core.git: bin/run
Miklos Vajna
vmiklos at collabora.co.uk
Fri Aug 14 08:33:19 PDT 2015
bin/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6d78caf68cd63a671342e777bfe78721b424f4d6
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Aug 14 17:31:18 2015 +0200
bin/run: fix LO_TRACE on Windows
exedir has to be in the c:/foo form, instead of /cygdrive/c/foo,
otherwise a native wrapper set by LO_TRACE won't understand it.
With this, it's possible to use DrMemory on executables invoked by
bin/run.
Change-Id: I5332342fdbf7d9e4859360dd7fbd3d74c149b2dc
diff --git a/bin/run b/bin/run
index c1b3f93..7823861 100755
--- a/bin/run
+++ b/bin/run
@@ -21,7 +21,7 @@ if uname | grep -i CYGWIN >/dev/null; then
dir=$(realpath "${dir}/..")
done
- exedir="${dir}"/workdir/LinkTarget/Executable
+ 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
More information about the Libreoffice-commits
mailing list