cabal configure screw-up
frederik at a5.repetae.net
Wed Aug 24 23:37:39 EDT 2005
I guess you could try to parse the "#!" line if MinGW is detected? ...
Anyway, it would seem that support for running "#!" scripts from
Haskell is a problem which is much more general than Cabal and should
be solved more centrally, like in the standard libraries.
On Thu, Aug 25, 2005 at 01:48:54AM +0100, Ross Paterson wrote:
> On Sat, Aug 20, 2005 at 05:14:33PM -0700, Frederik Eaton wrote:
> > I'm experiencing the following problem. I'm trying to use a
> > 'configure' script which is not a 'sh' script, but Cabal assumes that
> > all 'configure' scripts are 'sh' scripts regardless of what '#!' line
> > they start with. Isaac says this is your doing. What is the reason for
> > it?
> It's a kludge to make this work under MinGW, where #! isn't available
> for programs invoked from Haskell. I've now changed it to use sh only
> under MinGW, though this isn't a perfect solution.
More information about the Libraries