handling embedded spaces in output from ghc -M]

Sigbjorn Finne sof at galois.com
Mon Feb 25 12:16:04 EST 2002


Hi,

you're making a mountain out of a molehill; couple of
workarounds spring to mind:

* transform the -i path you feed to GHC -M, i.e., something
   like

    ghc -M .... -i`cygpath -w -s "c:\Program Files\GreenCard"`/lib/ghc

* post-process the generated dependencies file to insert the double
   quotes and/or escape the spaces yourself.

--sigbjorn

----- Original Message ----- 
From: "Antony Courtney" <antony at apocalypse.org>
To: <glasgow-haskell-bugs at haskell.org>
Sent: Monday, February 25, 2002 00:14
Subject: [Fwd: handling embedded spaces in output from ghc -M]


> Hi,
> 
> I never heard a reply to this.
> 
> Is there any hope of getting this fixed?
> 
> If not, I'll have to ship my own private binary release of greencard 
> under windows, just so that it doesn't install in a directory with an 
> embedded space(!)  :-(
> 
> Thanks,
> 
> -antony
> 
> -- 
> Antony Courtney
> Grad. Student, Dept. of Computer Science, Yale University
> antony at apocalypse.org          http://www.apocalypse.org/pub/u/antony
> 




More information about the Glasgow-haskell-bugs mailing list