[GHC] #8783: make ghc-pwd-bindist script /bin/sh compatible for Solaris

GHC ghc-devs at haskell.org
Fri Apr 4 07:43:23 UTC 2014


#8783: make ghc-pwd-bindist script /bin/sh compatible for Solaris
-------------------------------------+-------------------------------------
        Reporter:  maeder            |            Owner:
            Type:  bug               |           Status:  closed
        Priority:  normal            |        Milestone:  7.8.1
       Component:  Build System      |          Version:  7.8.1-rc2
      Resolution:  fixed             |         Keywords:
Operating System:  Solaris           |     Architecture:  Unknown/Multiple
 Type of failure:  Building GHC      |       Difficulty:  Easy (less than 1
  failed                             |  hour)
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+-------------------------------------

Comment (by maeder):

 I've verified that the line

 {{{
 /bin/sh ../libtool ...
 }}}

 fails as above and that the modified line

 {{{
 /bin/bash ../libtool ...
 }}}
 works as expected (and my diff on ghc.mk produces this line).

 Furthermore, my change has no impact on other OSes or the situation before
 the config.mk.in patch, as $(SHELL) used to expand to /bin/sh.

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


More information about the ghc-tickets mailing list