aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-04-12 13:23:04 +0800
committervd <vd@FreeBSD.org>2006-04-12 13:23:04 +0800
commit1e0b5b691f0a8fbadcbd8fee9f3e6227f0f4184f (patch)
tree6b8280e6454e35a60f0d53a4016c2116b6bdccce /Tools
parent44d8231ef37032da6a986c3476223cc877fb72d6 (diff)
downloadfreebsd-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-xTools/scripts/rmport2
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