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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]          http://www.apocalypse.org/pub/u/antony
> 

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to