Mercurial > jhg
changeset 111:32e794c599d7
Reminder comment why exe check goes first
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 01 Feb 2011 00:19:31 +0100 |
parents | 0170f95ca915 |
children | d488c7638b87 |
files | test/org/tmatesoft/hg/test/ExecHelper.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/ExecHelper.java Mon Jan 31 19:42:19 2011 +0100 +++ b/test/org/tmatesoft/hg/test/ExecHelper.java Tue Feb 01 00:19:31 2011 +0100 @@ -49,6 +49,7 @@ if (new File(pe, cmd[0] + ".exe").exists()) { break; } + // PATHEXT controls precedence of .exe, .bat and .cmd files, ususlly .exe wins if (new File(pe, cmd[0] + ".bat").exists() || new File(pe, cmd[0] + ".cmd").exists()) { ArrayList<String> command = new ArrayList<String>(); command.add("cmd.exe");