Use double brackets everywhere
We already fixed a couple of these in previous patches - this one should
replace all remaining uses of single brackets ("[") by double brackets.
Also, use arithmetic evaluation instead of conditional expressions where
appropriate and make use of "-z" and "-n" instead of comparing variables
to empty strings.
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
Showing
- archco.in 1 addition, 1 deletionarchco.in
- archrm.in 1 addition, 1 deletionarchrm.in
- commitpkg.in 19 additions, 19 deletionscommitpkg.in
- find-libdeps.in 2 additions, 2 deletionsfind-libdeps.in
- lddd.in 2 additions, 2 deletionslddd.in
- mkarchroot.in 30 additions, 30 deletionsmkarchroot.in
- rebuildpkgs.in 5 additions, 5 deletionsrebuildpkgs.in
Loading
Please register or sign in to comment