diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-12-02 08:33:33 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-04 18:00:57 +0100 |
commit | 56d4dec19fbcec23f677114e4104bb9df902ed9f (patch) | |
tree | c7a8cf2484db200d810f37a01b1226fef59f90c5 /archrm.in | |
parent | f62f307c8490a3018941e2a8805a082e001b95e2 (diff) | |
download | devtools-56d4dec19fbcec23f677114e4104bb9df902ed9f.tar.gz devtools-56d4dec19fbcec23f677114e4104bb9df902ed9f.tar.xz |
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>
Diffstat (limited to 'archrm.in')
-rw-r--r-- | archrm.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ m4_include(lib/common.sh) -if [ "$1" = '' ]; then +if [[ -z $1 ]]; then echo 'Usage: archrm <path to checkout>' exit 1 fi |