Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
cdfd5b2b
Commit
cdfd5b2b
authored
Feb 05, 2012
by
David Symonds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fix sudo.bash.
R=rsc, balasanjay, rsc CC=golang-dev
https://golang.org/cl/5630051
parent
8f0602fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sudo.bash
src/sudo.bash
+2
-2
No files found.
src/sudo.bash
View file @
cdfd5b2b
...
...
@@ -4,7 +4,6 @@
# license that can be found in the LICENSE file.
set
-e
.
./env.bash
case
"
`
uname
`
"
in
Darwin
)
...
...
@@ -18,12 +17,13 @@ if [[ ! -d /usr/local/bin ]]; then
exit
2
fi
cd
$(
dirname
$0
)
for
i
in
prof cov
do
# Remove old binaries if present
sudo rm
-f
/usr/local/bin/6
$i
# Install new binaries
sudo cp
"
$GOROOT
"
/bin/tool/
$i
/usr/local/bin/go
$i
sudo cp
..
/bin/tool/
$i
/usr/local/bin/go
$i
sudo chgrp
procmod /usr/local/bin/go
$i
sudo chmod
g+s /usr/local/bin/go
$i
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment