rust-lang/rust — pull request #18673 by VHaravy (2014-11-05 23:40:00+00:00)
Title: Properly escape paths to executables. Fixes #18632.

1. Introduce `putpathvar` function that prints variable shell-quoted by using `%q` format specifier. This function is used within `probe` to save the result into `config.tmp`.
2. Removes search-and-replace pattern that transforms `\` into `/` as it messes up shell-quoted strings.