[pacman-dev] bash scripts errexit and nounset options

Dan McGee dpmcgee at gmail.com
Sat Apr 11 15:46:05 EDT 2009

On Wed, Mar 11, 2009 at 6:26 PM, Allan McRae <allan at archlinux.org> wrote:
> Xavier wrote:
>> On Thu, Mar 12, 2009 at 12:06 AM, Allan McRae <allan at archlinux.org> wrote:
>>> How does set -u work when you test if a variable exists?  e.g. in makepkg
>>> we
>>> test if "$install" is non-null.
>> It can be defined and null. That just means we have to declare all
>> variables we use. So this change would certainly require additional
>> declarations. I guess more safety comes at a price :)
> The more I look into including these flags, the more I like the idea.  If
> you are not going to look into this in the near future, could you file a bug
> report so it is not forgotten?

Poke to one of you two? Or did a report get filed?


More information about the pacman-dev mailing list