[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt cron script changes

thanks for the quick reply.

im opting to go with replaceing the shebang line with /bin/bash in that case.
im going to finish the little of the script i still need to look at, and send the diff, including the change to the shebang.
if anyone has any comments/recommendations, please voice them.


On Fri, Apr 21, 2006 at 10:39:58AM +0100, Adam D. Barratt wrote:
> On Friday, April 21, 2006 8:46 AM, Hiren Patel <hiren@obsidian.co.za> wrote:
> > does this mean the patch wont get considered until i make it POSIX
> > compliant?
> Note that I'm not an apt maintainer, if that matters. However, given that
> it's not policy compliant in its current state, either it needs to be POSIX
> compliant, or:
> > im using things like '[[' for convinience, but things like '=~' to do
> > some sanity checking.
> > is there a chance of changing the shebang to specificy /bin/bash and
> > make it acceptable to the policy? and still use bashisms?
> Explicitly using /bin/bash is fine. The only thing you can't do is use
> bashisms in a script with a /bin/sh shebhang line.
> Adam

Reply to: