diff options
author | vd <vd@FreeBSD.org> | 2006-04-12 13:23:04 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2006-04-12 13:23:04 +0800 |
commit | 1e0b5b691f0a8fbadcbd8fee9f3e6227f0f4184f (patch) | |
tree | 6b8280e6454e35a60f0d53a4016c2116b6bdccce /Tools | |
parent | 44d8231ef37032da6a986c3476223cc877fb72d6 (diff) | |
download | freebsd-ports-gnome-1e0b5b691f0a8fbadcbd8fee9f3e6227f0f4184f.tar.gz freebsd-ports-gnome-1e0b5b691f0a8fbadcbd8fee9f3e6227f0f4184f.tar.zst freebsd-ports-gnome-1e0b5b691f0a8fbadcbd8fee9f3e6227f0f4184f.zip |
Quote ${1} so we don't get ``[: =: unexpected operator'' if the script
is started without arguments.
Diffstat (limited to 'Tools')
-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 |