diff options
author | Russ Cox <rsc@swtch.com> | 2010-07-14 13:21:35 -0700 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2010-07-14 13:21:35 -0700 |
commit | 1a3b9158967f946f56df937adfe803873115bea2 (patch) | |
tree | 47e9d1f07df7a9b2d27516cfba103058d34888e0 /bin/web | |
parent | 8377cc7a4b9c49f8bad0afded9ab82c25d76d514 (diff) | |
download | plan9port-1a3b9158967f946f56df937adfe803873115bea2.tar.gz plan9port-1a3b9158967f946f56df937adfe803873115bea2.tar.bz2 plan9port-1a3b9158967f946f56df937adfe803873115bea2.zip |
web: pass $BROWSER as open -a argument on OS X
(Suggestion by Martin Kühl)
R=rsc
http://codereview.appspot.com/1772044
Diffstat (limited to 'bin/web')
-rwxr-xr-x | bin/web | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2,7 +2,14 @@ plumbapple() { - open "$@" + case ${BROWSER:-none} in + none) + open "$@" + ;; + *) + open -a "$BROWSER" "$@" + ;; + esac } plumbunix() |