tweb: fix BROWSER=google-chrome on Mac - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 53527a6e7864f5d681d7140f1403d4d8d42311d5
DIR parent 83d065a6b30f0e89af3d04e26568fc93b98e6604
HTML Author: Russ Cox <rsc@swtch.com>
Date: Sat, 20 Oct 2012 13:28:46 -0400
web: fix BROWSER=google-chrome on Mac
R=rsc
http://codereview.appspot.com/6750046
Diffstat:
M bin/web | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/bin/web b/bin/web
t@@ -6,6 +6,9 @@ plumbapple()
none)
open "$@"
;;
+ *google-chrome*)
+ open -a "Google Chrome" "$@"
+ ;;
*)
open -a "$BROWSER" "$@"
;;