diff options
author | vd <vd@FreeBSD.org> | 2006-04-12 05:23:04 +0000 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2006-04-12 05:23:04 +0000 |
commit | 1e0b5b691f0a8fbadcbd8fee9f3e6227f0f4184f (patch) | |
tree | 6b8280e6454e35a60f0d53a4016c2116b6bdccce /Tools/scripts | |
parent | 44d8231ef37032da6a986c3476223cc877fb72d6 (diff) | |
download | FreeBSD-ports-1e0b5b691f0a8fbadcbd8fee9f3e6227f0f4184f.zip FreeBSD-ports-1e0b5b691f0a8fbadcbd8fee9f3e6227f0f4184f.tar.gz |
Quote ${1} so we don't get ``[: =: unexpected operator'' if the script
is started without arguments.
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/rmport | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport index 487fc8c..7c9fc79 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 |