GHC doesn't handle ./ prefixed paths correctly (#12674)

Authored by RolandSenn on Jul 30 2018, 3:34 PM.

Description

GHC doesn't handle ./ prefixed paths correctly (Trac #12674)

Summary: If a filename starts with a hypen, GHC keeps the prefixed "./" path.

Test Plan: make test TEST=T12674

Reviewers: Phyx, nomeata, bgamari, erikd

Reviewed By: Phyx

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: Trac #12674

Differential Revision: https://phabricator.haskell.org/D5009