correctly quote $@

This commit is contained in:
abs 2002-03-11 10:18:25 +00:00
parent 2f6457756a
commit 3f37449330
4 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh
MOZILLA_FIVE_HOME=@PREFIX@/lib/mozilla
export MOZILLA_FIVE_HOME
exec @PREFIX@/bin/galeon-bin $@
exec @PREFIX@/bin/galeon-bin "$@"

View file

@ -1,9 +1,9 @@
#!/bin/sh
# $NetBSD: netscape_mozilla,v 1.1 2001/07/27 14:26:18 abs Exp $
# $NetBSD: netscape_mozilla,v 1.2 2002/03/11 10:18:25 abs Exp $
# Simple script used if NS_MOZILLA is set when netscape installed
if [ -z "$NETSCAPE_PREFERRED" ]; then
NETSCAPE_PREFERRED=mozilla:navigator:communicator
fi
exec ns-open $@
exec ns-open "$@"

View file

@ -1,9 +1,9 @@
#!/bin/sh
# $NetBSD: netscape_navigator,v 1.2 2001/07/27 14:26:18 abs Exp $
# $NetBSD: netscape_navigator,v 1.3 2002/03/11 10:18:25 abs Exp $
# Simple script used if NS_NAVIGATOR is set when netscape installed
if [ -z "$NETSCAPE_PREFERRED" ]; then
NETSCAPE_PREFERRED=navigator:communicator:mozilla
fi
exec ns-open $@
exec ns-open "$@"

View file

@ -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