From dffa8077750962370a6d3aad63b434181f877a2e Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Wed, 12 Apr 2006 05:23:04 +0000 Subject: Quote ${1} so we don't get ``[: =: unexpected operator'' if the script is started without arguments. --- Tools/scripts/rmport | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/scripts/rmport') diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index 487fc8c86b14..7c9fc7907962 100755 --- a/Tools/scripts/rmport +++ b/Tools/scripts/rmport @@ -252,7 +252,7 @@ usage() # main -if [ ${#} -eq 0 -o ${1} = "-h" -o ${1} = "--help" ] ; then +if [ ${#} -eq 0 -o "${1}" = "-h" -o "${1}" = "--help" ] ; then usage fi -- cgit v1.2.3