diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2006-04-12 13:23:04 +0800 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2006-04-12 13:23:04 +0800 |
commit | dffa8077750962370a6d3aad63b434181f877a2e (patch) | |
tree | 62022fcd2bb6a9ed9a6cff577e7f5b5c41b98f27 /Tools/scripts | |
parent | bd0cd85bd19ec7c5a95c7fff149fd1ad930a967f (diff) | |
download | freebsd-ports-gnome-dffa8077750962370a6d3aad63b434181f877a2e.tar.gz freebsd-ports-gnome-dffa8077750962370a6d3aad63b434181f877a2e.tar.zst freebsd-ports-gnome-dffa8077750962370a6d3aad63b434181f877a2e.zip |
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 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 |