Re: [GHC] #9057: Remove /usr/bin/… references

GHC ghc-devs at haskell.org
Sat Jun 7 05:29:49 UTC 2014


#9057: Remove /usr/bin/… references
-------------------------------+-------------------------------------------
        Reporter:  Fuuzetsu    |            Owner:
            Type:  task        |           Status:  new
        Priority:  low         |        Milestone:
       Component:  Build       |          Version:  7.8.2
  System                       |         Keywords:
      Resolution:              |     Architecture:  Unknown/Multiple
Operating System:              |       Difficulty:  Easy (less than 1 hour)
  Unknown/Multiple             |       Blocked By:
 Type of failure:              |  Related Tickets:
  None/Unknown                 |
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------
Changes (by Fuuzetsu):

 * priority:  normal => low


Comment:

 As far as I can tell, there's no way to pass such flags to programs while
 using `env` and these flags have to be accomodated for on script-by-script
 basis. So for example `#!/usr/bin/perl -w` becomes `#!/usr/bin/env perl`
 and `use warnings;` should be set instead of using `-w`.

 I'll look into patching out the paths I mentioned in the following few
 days if I get some time. It is of no high priority to me at the moment as
 during the build process my distro's tools patch up the shebangs anyway
 but it's a matter of principle.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9057#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list