summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm_list.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2009-01-02 14:34:52 +1000
committerDan McGee <dan@archlinux.org>2009-01-02 22:46:47 -0600
commitf4651c49af94164f2c129ea6eb3d78b86be4d5bc (patch)
tree17c344700d7dd1c0cad3444ef2129f5989fc678a /lib/libalpm/alpm_list.c
parent751d37e749fcb0a06bb21dee4b5b6d0b062ed284 (diff)
makepkg: tidy version package tests
The use if "! -z" to check if a string is not null is not good practice so replace with the "-n" option. Also use the AND comparison within one test rather than on two separate tests. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm_list.c')
0 files changed, 0 insertions, 0 deletions