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
9ff712ec
Commit
9ff712ec
authored
Nov 10, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make.bash: check $PATH indirectly via which quietgcc
R=agl1 CC=golang-dev
https://golang.org/cl/152056
parent
2d70d603
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/make.bash
src/make.bash
+8
-3
No files found.
src/make.bash
View file @
9ff712ec
...
...
@@ -36,14 +36,19 @@ darwin | linux | nacl)
exit
1
esac
bash clean.bash
rm
-f
$GOBIN
/quietgcc
CC
=
${
CC
:-
gcc
}
sed
-e
"s|@CC@|
$CC
|"
< quietgcc.bash
>
$GOBIN
/quietgcc
chmod
+x
$GOBIN
/quietgcc
if
!
(
cd
lib9
&&
which quietgcc
)
>
/dev/null 2>&1
;
then
echo
"installed quietgcc as
$GOBIN
/quietgcc but 'which quietgcc' fails"
1>&2
echo
"double-check that
$GOBIN
is in your "
'$PATH'
1>&2
exit
1
fi
bash clean.bash
for
i
in
lib9 libbio libmach cmd pkg libcgo cmd/cgo cmd/ebnflint cmd/godoc cmd/gofmt cmd/goyacc cmd/hgpatch
do
case
"
$i
-
$GOOS
"
in
...
...
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