diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-08-14 17:31:18 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-08-20 14:13:54 +0200 |
commit | 935799098491746462c63759cf59dc8a728b9239 (patch) | |
tree | 87442f50d68611c8cc130ed0b9035cb635d08ae2 | |
parent | 9c2099cf6a2ca7f7cd741470a598603978ee7f90 (diff) |
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
(cherry picked from commit 6d78caf68cd63a671342e777bfe78721b424f4d6)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rwxr-xr-x | bin/run | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |