summaryrefslogtreecommitdiff
path: root/www/ns-remote
diff options
context:
space:
mode:
authorabs <abs>2002-03-11 10:18:25 +0000
committerabs <abs>2002-03-11 10:18:25 +0000
commitaeba5310089639e2335ed7647441906c14934b84 (patch)
treea2c059d128401d7c78a21799a9e16fdc43b4ac18 /www/ns-remote
parent97e12dcd2c7c8ba0fccb6a938f8982a08dabf658 (diff)
downloadpkgsrc-aeba5310089639e2335ed7647441906c14934b84.tar.gz
correctly quote $@
Diffstat (limited to 'www/ns-remote')
-rwxr-xr-xwww/ns-remote/files/ns-open6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/ns-remote/files/ns-open b/www/ns-remote/files/ns-open
index 26d155d0c3a..46ce6345afd 100755
--- a/www/ns-remote/files/ns-open
+++ b/www/ns-remote/files/ns-open
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ns-open,v 1.6 2001/12/22 14:43:20 abs Exp $
+# $NetBSD: ns-open,v 1.7 2002/03/11 10:18:25 abs Exp $
#
# Simple script to open a URL in Netscape, starting a new process if necessary
# If a netscape process is not running it will look for a valid netscape
@@ -94,12 +94,12 @@ if [ -z "$NETSCAPE_BIN" ];then
fi
case $1 in
-*)
- $NETSCAPE_BIN $@
+ $NETSCAPE_BIN "$@"
;;
*)
# Since using ns-remote will return, we start netscape in the
# background to give consistent behaviour.
- $NETSCAPE_BIN $@ &
+ $NETSCAPE_BIN "$@" &
;;
esac
exit 0