* Re: [gentoo-dev] [RFC] QA bashism check on portage
@ 2009-02-25 22:45 99% ` Mike Frysinger
0 siblings, 0 replies; 1+ results
From: Mike Frysinger @ 2009-02-25 22:45 UTC (permalink / raw
To: gentoo-dev; +Cc: Timothy Redaelli
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] http://svn.debian.org/viewsvn/devscripts/trunk/scripts/checkbashisms.pl
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 we
can push fixes back to debian, even better.
a repoman check on files in files/ would be useful as well i'd think
-mike
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-02-25 16:10 [gentoo-dev] [RFC] QA bashism check on portage Timothy Redaelli
2009-02-25 22:45 99% ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox