[Slackbuilds-users] Updates - 20120507.1

xgizzmo at slackbuilds.org xgizzmo at slackbuilds.org
Tue May 8 11:27:16 UTC 2012


On Monday 07 May 2012 21:31:23 Robby Workman wrote:
> On Mon, 07 May 2012 20:12:53 -0500
> Nishant Limbachia <nishant at mnspace.net> wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 05/07/2012 12:32 PM, Erik Hanson wrote:
> > > Mon May  7 17:20:21 UTC 2012 perl/perl-NetAddr-IP: Updated for
> > > version 4.059.
> >
> > Hi Admins,
> > There seems to be an issue with SRCNAM variable in perl-NetAddr-IP
> > update that got posted today.
> >
> > PRGNAM=perl-NetAddr-IP
> > SRCNAM=$(echo $PRGNAM | cut -f2 -d-)
> >
> > truncates the program name and the build fails.
> >
> > Please change this to the way I submitted:
> > SRCNAM=NetAddr-IP
> > PRGNAM=perl-$SRCNAM
> 
> 
> No, we prefer PRGNAM in the build script and the .info file
> to be the same - granted, it's only really for the sake of
> automated tools and such, but it's not too much trouble to
> keep them in sync.
> 
> The right way to do that would be this:
> 
> SRCNAM=$(printf $PRGNAM | cut -d- -f2-)
> 
> Note the "-" after "2" to grab field 2 and any later ones.
> ("echo" is certainly acceptable instead of "printf" though)
> 
> -RW
Sorry about that I will get it fixed tonight so it can go out
with the next public update.

--dsomero


More information about the SlackBuilds-users mailing list