summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-08-14 17:31:18 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-08-14 17:32:51 +0200
commit6d78caf68cd63a671342e777bfe78721b424f4d6 (patch)
tree435b4030d7ce3bd83ef986df772e6740403dd710 /bin
parentc1f456a4d212f6108220bb7c9712d584053c1e1e (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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/run b/bin/run
index c1b3f93afaf0..7823861d4a3b 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