[GHC] #2472: GHC: Hard-coded and wrong path to perl interpreter for
ghc-asm
GHC
trac at galois.com
Tue Jul 29 19:03:45 EDT 2008
#2472: GHC: Hard-coded and wrong path to perl interpreter for ghc-asm
-------------------------------+--------------------------------------------
Reporter: sanketr | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.3 | Severity: major
Keywords: ghc, asm, perl | Testcase:
Architecture: x86 | Os: MacOS X
-------------------------------+--------------------------------------------
In ghc-asm, the interpreter is hard-coded to /opt/local/bin/perl. On Mac
(and Linux as well), the path for perl interpreter is usually
/usr/bin/perl. The work-around should be to use the "env" variable instead
of hard-coded path. So, the first statement should be:
#!/usr/bin/env perl
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2472>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list