Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
95902d10
Commit
95902d10
authored
Feb 15, 2012
by
David Symonds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fix sudo.bash.
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/5647063
parent
9f333170
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/sudo.bash
src/sudo.bash
+2
-1
No files found.
src/sudo.bash
View file @
95902d10
...
...
@@ -17,13 +17,14 @@ if [[ ! -d /usr/local/bin ]]; then
exit
2
fi
eval
$(
go tool dist
env
)
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
../bin/tool
/
$i
/usr/local/bin/go
$i
sudo cp
$GOTOOLDIR
/
$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