diff options
author | abs <abs> | 2002-03-11 10:18:25 +0000 |
---|---|---|
committer | abs <abs> | 2002-03-11 10:18:25 +0000 |
commit | 68b45a4f217b9508c2a09b198714d300dccdab40 (patch) | |
tree | a2c059d128401d7c78a21799a9e16fdc43b4ac18 /www/ns-remote | |
parent | 336b8808498caccba9f814e18086384dbe718619 (diff) | |
download | pkgsrc-68b45a4f217b9508c2a09b198714d300dccdab40.tar.gz |
correctly quote $@
Diffstat (limited to 'www/ns-remote')
-rwxr-xr-x | www/ns-remote/files/ns-open | 6 |
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 |