plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 1a3b9158967f946f56df937adfe803873115bea2
parent 8377cc7a4b9c49f8bad0afded9ab82c25d76d514
Author: Russ Cox <rsc@swtch.com>
Date:   Wed, 14 Jul 2010 13:21:35 -0700

web: pass $BROWSER as open -a argument on OS X
(Suggestion by Martin Kühl)

R=rsc
http://codereview.appspot.com/1772044

Diffstat:
Mbin/web | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/bin/web b/bin/web @@ -2,7 +2,14 @@ plumbapple() { - open "$@" + case ${BROWSER:-none} in + none) + open "$@" + ;; + *) + open -a "$BROWSER" "$@" + ;; + esac } plumbunix()