[haskell-platform] #197: build.sh has non sh-isms in it

haskell-platform haskell-platform at projects.haskell.org
Tue May 22 06:22:36 BST 2012


#197: build.sh has non sh-isms in it
------------------------------------+---------------------------------------
 Reporter:  MtnViewMark             |       Owner:  MtnViewMark
     Type:  defect                  |      Status:  new        
 Priority:  minor                   |   Milestone:  2012.4.0.0 
Component:  Generic source tarball  |    Keywords:             
------------------------------------+---------------------------------------
 Raghavendra reported:

 There are a couple of instances of "echo -n" in scripts/build.sh in the
 2011.4.0.0 source installer.  The builtin echo command in sh on Mac OS X
 Lion doesn't accept the `-n' option, e.g., "echo -n foo" just prints "-n
 foo".  In case it hasn't been already done, I suggest that the instances
 of "echo -n" in build.sh be replaced with "printf", as mentioned in the
 echo(1) manpage on Mac OS X Lion.

 There seems to be a typo in line 137 of build.sh.  It looks like
 "${will_installed}" should be replaced with "${will_install}".

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/197>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list