If the PATH contains a directory with a # in it's name, we will store ORIGINAL_PATH=...#... in spec.gmk.

However, this will result in make cutting the line at #, believing the rest to be a comment.

Unfortunately, having directories named # is not so esoteric it at first seems, since Microsoft Visual Studio typically adds it's F# implementation to the PATH. :-(

Bug: https://bugs.openjdk.java.net/browse/JDK-8136764
WebRev: http://cr.openjdk.java.net/~ihse/JDK-8136764-escape-hash-in-ORIGINAL_PATH/webrev.01

/Magnus

Reply via email to