src/rt/release.sh: Teach it to build bash
commit745aac3f8edf4e78d89be49412bb24fc45193207
authorKirill Smelkov <kirr@landau.phys.spbu.ru>
Wed, 4 May 2011 16:07:32 +0000 (4 20:07 +0400)
committerKirill Smelkov <kirr@landau.phys.spbu.ru>
Wed, 4 May 2011 17:57:03 +0000 (4 21:57 +0400)
treef6891a0dad23a619e87f5ebead441624f0718d75
parent31bbaeb256f17f2573e4e013435d652938f1972c
src/rt/release.sh: Teach it to build bash

Bash builds fine with standard configure/make in our environment.

The only glitch is that msys sources must be cloned with
core.autocrlf=false, or else, as documented in mingw wiki[1] there will
be build failure in builtins/

I assume core.autocrlf is set to false in all msysgit developers setup,
because as described in dd6ab17a (Set default core.autocrlf=true):

"""
    Note, msysgit developers should override this changed default by
    explicitly setting core.autocrlf=false in msysgit and
    msysgit/git.  Msysgit is not (yet) a real cross-platform project
    but more like a Unix project.
"""

If relying on this tweak is not ok, I suggest to put core.autocrlf=false
as default in etc/gitconfig, and maybe tweak it to true when preparing
installer.

Configure options were taken from msys-build-bash in
bash-3.1.17-4-msys-1.0.16-src.tar.lzma .

[1] http://oldwiki.mingw.org/index.php/Build%20bash

Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru>
src/rt/release.sh