Hey guys. As ironic it looks like, the fastest approach is find + xargs. I won't rewrite my own SlackBuilds, but new ones will use find + xargs.
Em 14 de 03 de 2016 às 15:48:55T-0500, Erik Hanson <e...@slackbuilds.org> escreveu: > On Mon, 14 Mar 2016 16:04:50 -0300 > Luis Cavalheiro <pess...@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@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
pgpOOJplfFX1M.pgp
Description: Assinatura digital OpenPGP
_______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/