Hi Xavier, According to the Submissions page, SBo doesn't even like bash scripts. They want pure sh shell scripts.
That said, Bourne Shell (sh) allows you to define functions in the format: function_name () { commands.... } Regards, Ben On Fri, May 8, 2009 at 3:30 AM, Xavier Maillard <x...@gnu.org> wrote: > Hi, > > do you have any example of slackbuilds written in another scripting > language than bash, say, for example, in Python ? > > I am planning to write one myself to see whether it could benefit of > the Python strengh. > > Why ask ? Because I am writting a more complex slackbuild than I am > used to (with multiple result packages) so I am writting many times the > same code over and over. Maybe having a slackbuild python object with > good methods could be valuable here. > > At the bare minimum, are functions (bash functions) accepted on SBo ? > > Cheers, > > Xavier Maillard > _______________________________________________ > 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/ > > -- http://www.dragonwisard.net/
_______________________________________________ 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/