Russ Cox | 6b7dd4c | 2008-11-18 10:08:46 -0800 | [diff] [blame] | 1 | #!/bin/bash |
2 | # Copyright 2009 The Go Authors. All rights reserved. | ||||
3 | # Use of this source code is governed by a BSD-style | ||||
4 | # license that can be found in the LICENSE file. | ||||
5 | |||||
6 | case "`uname`" in | ||||
7 | Darwin) | ||||
8 | ;; | ||||
9 | *) | ||||
10 | exit 0 | ||||
11 | esac | ||||
12 | |||||
13 | for i in acid db prof cov | ||||
14 | do | ||||
15 | sudo cp $GOROOT/src/cmd/$i/6$i /usr/local/bin/6$i | ||||
16 | sudo chgrp procmod /usr/local/bin/6$i | ||||
17 | sudo chmod g+s /usr/local/bin/6$i | ||||
18 | done |