summaryrefslogtreecommitdiff
path: root/www/ns-remote
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-03-11 10:18:25 +0000
committerabs <abs@pkgsrc.org>2002-03-11 10:18:25 +0000
commit3f37449330e15170106c6f83c4be670b0657a9b6 (patch)
treea2c059d128401d7c78a21799a9e16fdc43b4ac18 /www/ns-remote
parent2f6457756aa43b453ef87f2f15860bf3ec20f7ce (diff)
downloadpkgsrc-3f37449330e15170106c6f83c4be670b0657a9b6.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