[pacman-dev] bash scripts errexit and nounset options
Xavier
shiningxc at gmail.com
Wed Mar 11 19:12:06 EDT 2009
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 :)
More information about the pacman-dev
mailing list