summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-01-17 09:42:23 -0600
committerDan McGee <dan@archlinux.org>2009-01-18 13:46:23 -0600
commit350c3eb6ec25b91b0402fa86422a7312ba7330d6 (patch)
treee77447c27225fdc045c25af6a94ce6959c3daa39 /lib/libalpm/util.c
parentfba5771fa4c774457531a4bbbcd66340c7c3fb6a (diff)
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/util.c')
0 files changed, 0 insertions, 0 deletions