From 56d4dec19fbcec23f677114e4104bb9df902ed9f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 2 Dec 2011 08:33:33 +0100 Subject: 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 --- archco.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archco.in') diff --git a/archco.in b/archco.in index be026b1..5d34209 100644 --- a/archco.in +++ b/archco.in @@ -4,7 +4,7 @@ m4_include(lib/common.sh) scriptname=${0##*/} -if [ "$1" = '' ]; then +if [[ -z $1 ]]; then echo 'Usage: '$scriptname' ...' exit 1 fi -- cgit v1.2.3-54-g00ecf