darcs patch: add hashbang header to Setup.hs

Ketil Malde Ketil.Malde at bccs.uib.no
Thu Mar 15 11:03:31 EDT 2007


Ketil Malde wrote:
> Thu Mar 15 15:57:23 CET 2007  Ketil Malde <ketil at ii.uib.no>
>   * add hashbang header to Setup.hs
>   
Oops, i didn't realize 'darcs send' would bother the list with such 
trivialities.  Anyway - the point is that I chmod +x'ed Setup.hs, and 
tried to run it.  Since the system didn't know better, it used the 
default shell, and 'import' is part of ImageMagick, and tries to grab an 
X window and dump it contents to a file (in this case, a file named 
'Distribution.Simple'). 

This was a bit puzzling to me until I figured it out, and I recommend a 
#! header for the Setup.hs file, which takes care of that.  All you 
library writers out there, please take notice!  :-)

-k


More information about the Libraries mailing list