[PATCH] do not use sed for version date processing but rather simpler cut
Ian Lynagh
igloo at earth.li
Thu Apr 21 02:06:54 CEST 2011
On Tue, Apr 19, 2011 at 12:11:53AM +0200, Matthias Kilian wrote:
> On Mon, Apr 18, 2011 at 09:10:28AM +0200, Karel Gardas wrote:
> > >Apart from this, a much simpler version (using cut, inspired by
> > >your diff, but also tr) may be:
> > >
> > > git log -n 1 --date=short --pretty=format:%ci | cut -d ' ' -f 1 | tr
> > > -d -
> > >
> > >Does this work on Solaris?
> >
> > Great! This works too and is way much nicer than my original attempt to
> > fix it.
>
> So the attached patch should be tested on some other systems (at
> least the outcome of configure on OpenBSD still looks correct).
Applied, thanks!
Thanks
Ian
More information about the Cvs-ghc
mailing list