Re: [gentoo-dev] [RFC] QA bashism check on portage

2009-02-26 Thread Timothy Redaelli
On Wednesday 25 February 2009 23:45:41 Mike Frysinger wrote: cut i recall it being incorrect in some cases (it checked for what dash supports, not what POSIX supports), but that was a while ago, so maybe my experience is dated at this point. otherwise, integrating it sounds sane to me, and if

Re: [gentoo-dev] [RFC] QA bashism check on portage

2009-02-26 Thread Mike Frysinger
On Thursday 26 February 2009 04:27:44 Timothy Redaelli wrote: On Wednesday 25 February 2009 23:45:41 Mike Frysinger wrote: i recall it being incorrect in some cases (it checked for what dash supports, not what POSIX supports), but that was a while ago, so maybe my experience is dated at

Re: [gentoo-dev] [RFC] QA bashism check on portage

2009-02-26 Thread Mike Frysinger
On Thursday 26 February 2009 06:33:17 Timothy Redaelli wrote: On Thursday 26 February 2009 10:32:52 you wrote: i'm totally not following. we were talking about POSIX shell syntax, but now you're talking about utilities as well ? I'm talking about checkbashism.pl checks and btw type is a

[gentoo-dev] [RFC] QA bashism check on portage

2009-02-25 Thread Timothy Redaelli
Hi, what do you think about checking for bashism on install_qa_check? Obviously only for scripts with #!/bin/sh and #!/sbin/runscript as first line. I think checkbashisms.pl [1] could be a good start point. [1] http://svn.debian.org/viewsvn/devscripts/trunk/scripts/checkbashisms.pl -- Timothy

Re: [gentoo-dev] [RFC] QA bashism check on portage

2009-02-25 Thread Mike Frysinger
On Wednesday 25 February 2009 11:10:01 Timothy Redaelli wrote: what do you think about checking for bashism on install_qa_check? Obviously only for scripts with #!/bin/sh and #!/sbin/runscript as first line. I think checkbashisms.pl [1] could be a good start point. [1]