[Slackbuilds-users] Call for Bug Fixes, Patches, etc
Luís Fernando Carvalho Cavalheiro
pessoal at profcavalheiro.com
Mon Mar 14 21:35:18 UTC 2016
I'm with -execdir approach. I use it on my personal slackbuild scripts (hosted at https://github.com/lcavalheiro/slackbuilds - I plan to submit them to http://slackbuilds.org as soon as submissions are allowed again), and all of them build very well :-)
I'm testing the tree approaches (find + xargs, find with -exec and find with -execdir) right now. As soon as I have a result I'll send it to here.
Em 14 de 03 de 2016 às 15:48:55T-0500, Erik Hanson <erik at slackbuilds.org> escreveu:
> On Mon, 14 Mar 2016 16:04:50 -0300
> Luis Cavalheiro <pessoal at profcavalheiro.com> wrote:
>
> > Indeed it should be
> >
> > -execdir chmod 755 {} \;
> >
> > ...at end of command line. I was fast typing and I did this little
> > mistake. As said, command will stop in error in "-print0 | xargs -0"
> > form if no matching file is provided. Plus, since the sole function
> > of this piped xargs is chmod, it is an uneeded complexity since
> > -execdir does the same.
>
> It seems a switch from -exec to -execdir would be a good idea. I'd
> support it, but I was hoping someone would run some benchmarks to see
> if the benefit is worth it. MAME is a good target.
>
> That said, and assuming other admins are in agreement, this change
> would target the template only. That means we'd allow new submissions
> with it but would not be doing any sort of global change to the repo.
> That doesn't seem very viable to me.
>
> And again, would love input from other admins. I don't really wish to
> be a sole arbiter here. Dissent is welcome :)
>
>
> --
> Erik
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
--
93 93/93
Luís Fernando Carvalho Cavalheiro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Assinatura digital OpenPGP
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160314/f648186b/attachment.asc>
More information about the SlackBuilds-users
mailing list