Fix Perl code which had broken the Windows build

Peter Eisentraut <peter_e@gmx.net>

Commit: 4d33a7f2e714848ca7b5b7ef8e244eead078ca13
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-03-28T13:00:59Z
Releases: 10.0
Fix Perl code which had broken the Windows build

The previous change wanted to avoid modifying $_ in grep, but the code
just made the change in a local variable and then lost it.  Rewrite the
code using a separate map and grep, which is clearer anyway.

Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>

Files

PathChange+/−
src/tools/msvc/vcregress.pl modified +3 −5