Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: Timothy Redaelli <drizzt@g.o>, gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] QA bashism check on portage
Date: Thu, 26 Feb 2009 15:08:19
Message-Id: 200902261008.16414.vapier@gentoo.org
1 On Thursday 26 February 2009 06:33:17 Timothy Redaelli wrote:
2 > On Thursday 26 February 2009 10:32:52 you wrote:
3 > > i'm totally not following. we were talking about POSIX shell syntax, but
4 > > now you're talking about utilities as well ?
5 >
6 > I'm talking about checkbashism.pl checks and btw type is a builtin and kill
7 > can also be a builtin
8
9 it doesnt matter if they're builtins, they still need to follow POSIX
10
11 > kill -HUP
12 > `cat /var/run/mDNSResponderPosix.pid` >&/dev/null possible bashism in
13 > /etc/init.d/mDNSResponderPosix line 35 (kill -[0-9] or -[A-Z]): kill -HUP
14
15 POSIX states that `kill [-signal_name]` is valid syntax. if the shell doesnt
16 support it, then it isnt POSIX complaint and therefore it sucks and is not
17 worth consideration.
18 -mike