
15 Mar
2007
15 Mar
'07
11:03 a.m.
Ketil Malde wrote:
Thu Mar 15 15:57:23 CET 2007 Ketil Malde
* 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