On Fri, 22 Jun 2007 12:48:05 +0200 treach <treachster@gmail.com> wrote:
On a sidenote to this, I'd like to mention something I though of recently, however, irc gave no real feedback, so here I go again.
First of all prtcreate really does the wrong thing when it creates templates for a new Pkgfile, since it sets source=(), rather than source="". This is a two character fix to the script, and causes no problems at all AFAIK.
The second thing I'd like to suggest is that prtverify starts to issue a warning on Pkgfiles containing source=().
These are small, simple and non-intrusive steps towards getting rid of bashisms, and should been ideally be seen as first babysteps towards getting the ports system more, ahem, portable. :) hello treach,
I think this is a good way to explain opinions and give reasons about them. Like I said yesterday, I think it can be a good idea. I can not see much problems, and like you said, more benefits with portability. I hope we can read more opinions/explanations/problems about this topic from some core maintainers.
As for what shell to use, I'd like to point to dash, already in use by debian/ubuntu, which seems to be more strictly POSIX compliant. I'll leave the question of which one of these are the better to smarter people than me, but I'd like to hear some responses to this - including from the people actually in charge. :>
regards treach _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
Greetings. Learning day by day. pitillo.