diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-12-30 04:35:53 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-02 12:43:28 +0100 |
commit | 80e6d8a6fe3c94e9a385322494b27885837b7b3a (patch) | |
tree | 157d756c23e11b63ffca85d6be4f369a22d2c490 /lib/libalpm/.gitignore | |
parent | ca5a2771aeb0babca8270b83b0cb0172db4cebe5 (diff) | |
download | pacman-80e6d8a6fe3c94e9a385322494b27885837b7b3a.tar.gz pacman-80e6d8a6fe3c94e9a385322494b27885837b7b3a.tar.xz |
makepkg: avoid expansion of var in arithmetic context
This bombs out when "$trusted" expands to the empty string. We're
better off passing the var by name and letting bash default to "0" when
the var is empty
Fixes: https://bugs.archlinux.org/task/43269
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/.gitignore')
0 files changed, 0 insertions, 0 deletions