Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(846)

Side by Side Diff: src/sudo.bash

Issue 157067: go: makes it build for the case $GOROOT has whitespaces (Closed)
Patch Set: code review 157067: go: makes it build for the case $GOROOT has whitespaces Created 15 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/xml/Makefile ('k') | test/bench/timing.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 # Copyright 2009 The Go Authors. All rights reserved. 2 # Copyright 2009 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style 3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file. 4 # license that can be found in the LICENSE file.
5 5
6 case "`uname`" in 6 case "`uname`" in
7 Darwin) 7 Darwin)
8 ;; 8 ;;
9 *) 9 *)
10 exit 0 10 exit 0
11 esac 11 esac
12 12
13 for i in prof cov 13 for i in prof cov
14 do 14 do
15 » sudo cp $GOROOT/src/cmd/$i/6$i /usr/local/bin/6$i 15 » sudo cp "$GOROOT"/src/cmd/$i/6$i /usr/local/bin/6$i
16 sudo chgrp procmod /usr/local/bin/6$i 16 sudo chgrp procmod /usr/local/bin/6$i
17 sudo chmod g+s /usr/local/bin/6$i 17 sudo chmod g+s /usr/local/bin/6$i
18 done 18 done
OLDNEW
« no previous file with comments | « src/pkg/xml/Makefile ('k') | test/bench/timing.sh » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b