[GRASS5] Grass 5.3 on Mac OSX

Paul Kelly paul-grass at stjohnspoint.co.uk
Fri Dec 19 13:13:06 EST 2003


On Tue, 9 Dec 2003, Glynn Clements wrote:

>
> Markus Neteler wrote:
>
> > > > This way, a tarball I create wouldn't overwrite someone's existing
> > > > grass 5.0.x files when untarred.
> > >
> > > I definitely think the 5.3 startup script should have a different name
> > > from the 5.0 one and unless there are objections I will see that it is
> > > changed before the 5.3.0 release is made.
> >
> > Let's change (also gmake53 and gmakelinks53).
>
> gmake5 and gmakelinks5 shouldn't be installed; they can always be run
> from the bin.<arch> directory.

OK but the same variable set in the configure script ${NAME_VER} is used
in all these so the simplest thing is just to change it once, in
configure. In GRASS 4.3 the other scripts were called gmake4.3 and
gmakelinks4.3.

The following sed construction seems to get us the major and
minor version numbers with no decimal point between them:
echo 5.3-cvs | sed 's/\.//' | sed 's/[-\.].*//'
gives 53 as does
echo 5.3.0 | sed 's/\.//' | sed 's/[-\.].*//'

If nobody spots any potential problems with this I will go ahead and
commit it.

Paul




More information about the grass-dev mailing list