diff options
author | Dan McGee <dan@archlinux.org> | 2009-01-17 16:42:23 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-01-18 20:46:23 +0100 |
commit | 350c3eb6ec25b91b0402fa86422a7312ba7330d6 (patch) | |
tree | e77447c27225fdc045c25af6a94ce6959c3daa39 /lib/libalpm/deps.c | |
parent | fba5771fa4c774457531a4bbbcd66340c7c3fb6a (diff) | |
download | pacman-350c3eb6ec25b91b0402fa86422a7312ba7330d6.tar.gz pacman-350c3eb6ec25b91b0402fa86422a7312ba7330d6.tar.xz |
makepkg: clean up test usage
In a lot of places, we had the following construct:
[ "$foobar" = "0" ]
which is better represented by using the integer tests:
[ $foobar -eq 0 ]
Attempt to unify makepkg to use the latter rather than the former in all
places. From here on out we should ensure anything that is set to 0, 1, etc.
uses the -eq format rather than =.
In addition, fix a few other test anomalies including usage of double
equals.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.c')
0 files changed, 0 insertions, 0 deletions